diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-09-27 22:30:02 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-09-27 22:30:02 +0000 |
commit | 7dfcd4332472afda13e2ea9c0eaba15a08d8351e (patch) | |
tree | 6516d5b3be25290b39fb2e1baa5b5272b8c4c2bc | |
parent | aeb5b827c5f7ed858a5b15101d1a3893356cc6ba (diff) | |
download | eglibc2-7dfcd4332472afda13e2ea9c0eaba15a08d8351e.tar.gz |
* bits/predefs.h, ports/sysdeps/arm/bits/predefs.h: Put
multiple-inclusion guards around the whole file.
git-svn-id: svn://svn.eglibc.org/trunk@20899 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r-- | libc/ChangeLog.eglibc | 5 | ||||
-rw-r--r-- | libc/bits/predefs.h | 6 | ||||
-rw-r--r-- | libc/ports/sysdeps/arm/bits/predefs.h | 6 |
3 files changed, 11 insertions, 6 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index 4aeb341fc..a194a8a1d 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,8 @@ +2012-09-27 Joseph Myers <joseph@codesourcery.com> + + * bits/predefs.h, ports/sysdeps/arm/bits/predefs.h: Put + multiple-inclusion guards around the whole file. + 2012-08-31 Maxim Kuvyrkov <maxim@codesourcery.com> * ports/sysdeps/powerpc/powerpc32/e500/fpu/fraiseexcept.c diff --git a/libc/bits/predefs.h b/libc/bits/predefs.h index fe4d99739..4dc4900a9 100644 --- a/libc/bits/predefs.h +++ b/libc/bits/predefs.h @@ -16,13 +16,13 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifndef _PREDEFS_H +#define _PREDEFS_H + #ifndef _STDC_PREDEF_H # error "Never use <bits/predefs.h> directly; include <stdc-predef.h> instead." #endif -#ifndef _PREDEFS_H -#define _PREDEFS_H - /* We do support the IEC 559 math functionality, real and complex. */ #define __STDC_IEC_559__ 1 #define __STDC_IEC_559_COMPLEX__ 1 diff --git a/libc/ports/sysdeps/arm/bits/predefs.h b/libc/ports/sysdeps/arm/bits/predefs.h index aa33225f4..0f3c5c9f2 100644 --- a/libc/ports/sysdeps/arm/bits/predefs.h +++ b/libc/ports/sysdeps/arm/bits/predefs.h @@ -16,13 +16,13 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#ifndef _PREDEFS_H +#define _PREDEFS_H + #ifndef _STDC_PREDEF_H # error "Never use <bits/predefs.h> directly; include <stdc-predef.h> instead." #endif -#ifndef _PREDEFS_H -#define _PREDEFS_H - /* We do support the IEC 559 math functionality, real and complex, but only if a VFP coprocessor is present. If we don't have one, we fall back to software emulation and the functions won't work properly. So in general, |