From: Samuel Thibault Date: Wed, 16 Feb 2011 23:16:33 +0000 (-0800) Subject: Add multiple inclusion protection to some Mach/i386 internal headers. X-Git-Tag: glibc-2.14~231^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e31c82dbd7dad4d33b35d242b5a990f1168a859;p=thirdparty%2Fglibc.git Add multiple inclusion protection to some Mach/i386 internal headers. --- diff --git a/ChangeLog b/ChangeLog index 3d890b8e053..425ededbb99 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-02-16 Samuel Thibault + * 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. diff --git a/sysdeps/mach/i386/sysdep.h b/sysdeps/mach/i386/sysdep.h index 4fc5d50f3dd..fb77d4649cf 100644 --- a/sysdeps/mach/i386/sysdep.h +++ b/sysdeps/mach/i386/sysdep.h @@ -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 #include @@ -64,3 +67,5 @@ #undef ENTRY #undef ALIGN #include + +#endif /* mach/i386/sysdep.h */ diff --git a/sysdeps/mach/i386/thread_state.h b/sysdeps/mach/i386/thread_state.h index cefea2cfb65..e8fdef6e57a 100644 --- a/sysdeps/mach/i386/thread_state.h +++ b/sysdeps/mach/i386/thread_state.h @@ -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 #define MACHINE_THREAD_STATE_FLAVOR i386_THREAD_STATE @@ -36,3 +39,5 @@ struct machine_thread_all_state }; #include + +#endif /* mach/i386/thread_state.h */