Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2010 12:47:15 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215741 - head/sys/compat/ia32
Message-ID:  <201011231247.oANClFDV030528@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011231247.oANClFDV030528>