svn commit: r215741 - head/sys/compat/ia32
Konstantin Belousov
kib at FreeBSD.org
Tue Nov 23 12:47:15 UTC 2010
Author: kib
Date: Tue Nov 23 12:47:15 2010
New Revision: 215741
URL: http://svn.freebsd.org/changeset/base/215741
Log:
Add include guards.
MFC after: 3 days
Modified:
head/sys/compat/ia32/ia32_signal.h
head/sys/compat/ia32/ia32_util.h
Modified: head/sys/compat/ia32/ia32_signal.h
==============================================================================
--- head/sys/compat/ia32/ia32_signal.h Tue Nov 23 11:41:40 2010 (r215740)
+++ head/sys/compat/ia32/ia32_signal.h Tue Nov 23 12:47:15 2010 (r215741)
@@ -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
Modified: head/sys/compat/ia32/ia32_util.h
==============================================================================
--- head/sys/compat/ia32/ia32_util.h Tue Nov 23 11:41:40 2010 (r215740)
+++ head/sys/compat/ia32/ia32_util.h Tue Nov 23 12:47:15 2010 (r215741)
@@ -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
More information about the svn-src-all
mailing list