]> sourceware.org Git - glibc.git/commitdiff
Add multiple inclusion protection to some Mach/i386 internal headers.
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 16 Feb 2011 23:16:33 +0000 (15:16 -0800)
committerRoland McGrath <roland@redhat.com>
Wed, 16 Feb 2011 23:16:33 +0000 (15:16 -0800)
ChangeLog
sysdeps/mach/i386/sysdep.h
sysdeps/mach/i386/thread_state.h

index 3d890b8e053f3885b9f2c14a7b85848088dad636..425ededbb99ed8ab6ba499bcaa83d41cdfeea478 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
+       * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
+       protection macro.
+       * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
+       inclusion protection macro.
+
        * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
        SIGRTMIN and SIGRTMAX and print information in that case only when
        SIGRTMIN is defined.
index 4fc5d50f3dd65ab6abcd7b5109065d1e1a9c1790..fb77d4649cfd68a27a5577684575e1ddea38428a 100644 (file)
@@ -18,6 +18,9 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#ifndef _MACH_I386_SYSDEP_H
+#define _MACH_I386_SYSDEP_H 1
+
 /* Defines RTLD_PRIVATE_ERRNO and USE_DL_SYSINFO.  */
 #include <dl-sysdep.h>
 #include <tls.h>
@@ -64,3 +67,5 @@
 #undef ENTRY
 #undef ALIGN
 #include <sysdeps/unix/i386/sysdep.h>
+
+#endif /* mach/i386/sysdep.h */
index cefea2cfb65f944c3b7057bf111c64220c753262..e8fdef6e57a0476eb36a797cfded514031432f86 100644 (file)
@@ -17,6 +17,9 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#ifndef _MACH_I386_THREAD_STATE_H
+#define _MACH_I386_THREAD_STATE_H 1
+
 #include <mach/machine/thread_status.h>
 
 #define MACHINE_THREAD_STATE_FLAVOR    i386_THREAD_STATE
@@ -36,3 +39,5 @@ struct machine_thread_all_state
   };
 
 #include <sysdeps/mach/thread_state.h>
+
+#endif /* mach/i386/thread_state.h */
This page took 0.048708 seconds and 5 git commands to generate.