summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-11-23 12:47:15 +0000
committerkib <kib@FreeBSD.org>2010-11-23 12:47:15 +0000
commitd6e3624f09c651dba9a1e5b28a10bda56ea605a3 (patch)
tree0ed724b97776ebadd2c497127a3201ed9f280b0c /sys/compat/ia32
parent40d00ff041076d098d4ac9f61f386197a75d7a95 (diff)
downloadFreeBSD-src-d6e3624f09c651dba9a1e5b28a10bda56ea605a3.zip
FreeBSD-src-d6e3624f09c651dba9a1e5b28a10bda56ea605a3.tar.gz
Add include guards.
MFC after: 3 days
Diffstat (limited to 'sys/compat/ia32')
-rw-r--r--sys/compat/ia32/ia32_signal.h5
-rw-r--r--sys/compat/ia32/ia32_util.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_signal.h b/sys/compat/ia32/ia32_signal.h
index 717ae74..757e384 100644
--- a/sys/compat/ia32/ia32_signal.h
+++ b/sys/compat/ia32/ia32_signal.h
@@ -29,6 +29,9 @@
* $FreeBSD$
*/
+#ifndef _COMPAT_IA32_IA32_SIGNAL_H
+#define _COMPAT_IA32_IA32_SIGNAL_H
+
struct ia32_mcontext {
u_int32_t mc_onstack; /* XXX - sigcontext compat. */
u_int32_t mc_gs; /* machine state (struct trapframe) */
@@ -188,3 +191,5 @@ extern int sz_freebsd4_ia32_sigcode;
extern void ia32_sendsig(sig_t, struct ksiginfo *, sigset_t *);
extern void ia32_setregs(struct thread *td, struct image_params *imgp,
u_long stack);
+
+#endif
diff --git a/sys/compat/ia32/ia32_util.h b/sys/compat/ia32/ia32_util.h
index d91bfde..f1cc6ed 100644
--- a/sys/compat/ia32/ia32_util.h
+++ b/sys/compat/ia32/ia32_util.h
@@ -28,6 +28,9 @@
* $FreeBSD$
*/
+#ifndef _COMPAT_IA32_IA32_UTIL_H
+#define _COMPAT_IA32_IA32_UTIL_H
+
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/pmap.h>
@@ -51,3 +54,5 @@
struct syscall_args;
int ia32_fetch_syscall_args(struct thread *td, struct syscall_args *sa);
void ia32_set_syscall_retval(struct thread *, int);
+
+#endif
OpenPOWER on IntegriCloud