aboutsummaryrefslogtreecommitdiff
path: root/linux-user/openrisc
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-06-04 20:16:18 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-06-12 13:20:21 +0200
commitf91005e195e7e1485e60cb121731589960f1a3c9 (patch)
treee734135671b02f0c6bbf5785006401843e925a06 /linux-user/openrisc
parent37677d7db39a3c250ad661d00fb7c3b59d047b1f (diff)
Supply missing header guards
Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190604181618.19980-5-armbru@redhat.com>
Diffstat (limited to 'linux-user/openrisc')
-rw-r--r--linux-user/openrisc/syscall_nr.h5
-rw-r--r--linux-user/openrisc/termbits.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/linux-user/openrisc/syscall_nr.h b/linux-user/openrisc/syscall_nr.h
index 04059d020c..7763dbcfd8 100644
--- a/linux-user/openrisc/syscall_nr.h
+++ b/linux-user/openrisc/syscall_nr.h
@@ -1,3 +1,6 @@
+#ifndef LINUX_USER_OPENRISC_SYSCALL_NR_H
+#define LINUX_USER_OPENRISC_SYSCALL_NR_H
+
#define TARGET_NR_io_setup 0
#define TARGET_NR_io_destroy 1
#define TARGET_NR_io_submit 2
@@ -502,3 +505,5 @@
#define TARGET_NR_stat64 TARGET_NR_3264_stat
#define TARGET_NR_lstat64 TARGET_NR_3264_lstat
#endif
+
+#endif
diff --git a/linux-user/openrisc/termbits.h b/linux-user/openrisc/termbits.h
index 231a49806b..7a635ffbc6 100644
--- a/linux-user/openrisc/termbits.h
+++ b/linux-user/openrisc/termbits.h
@@ -1,3 +1,6 @@
+#ifndef LINUX_USER_OPENRISC_TERMBITS_H
+#define LINUX_USER_OPENRISC_TERMBITS_H
+
typedef unsigned char target_openrisc_cc; /*cc_t*/
typedef unsigned int target_openrisc_speed; /*speed_t*/
typedef unsigned int target_openrisc_tcflag; /*tcflag_t*/
@@ -294,3 +297,5 @@ struct target_termios3 {
#define TARGET_TIOCPKT_IOCTL 64
#define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */
+
+#endif