From 50022a93fcc36a0130b9f882709ff69f4b91c0cc Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 20 Feb 2013 18:51:56 +0100 Subject: Respect the user's namespace in installed header files. Fixup for commit c7b275d6b3bceb6b400fa3044d13d1001bc605ca. --- ChangeLog | 5 +++++ ports/ChangeLog.mips | 3 +++ ports/sysdeps/mips/bits/nan.h | 2 +- sysdeps/ieee754/bits/nan.h | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 623d927..392d141 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-02-20 Thomas Schwinge + + * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change + __attribute__ ((unused)) to __attribute__ ((__unused__)). + 2013-02-20 Petr Machata * elf/elf.h (R_ARM_TARGET1): New macro. diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips index 5574d72..f06c986 100644 --- a/ports/ChangeLog.mips +++ b/ports/ChangeLog.mips @@ -1,5 +1,8 @@ 2013-02-20 Thomas Schwinge + * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change + __attribute__ ((unused)) to __attribute__ ((__unused__)). + * sysdeps/unix/sysv/linux/mips/mips32/nptl/libc.abilist: Sort properly. diff --git a/ports/sysdeps/mips/bits/nan.h b/ports/sysdeps/mips/bits/nan.h index 8f4666d..7aa157b 100644 --- a/ports/sysdeps/mips/bits/nan.h +++ b/ports/sysdeps/mips/bits/nan.h @@ -50,7 +50,7 @@ # endif static union { unsigned char __c[4]; float __d; } __nan_union - __attribute__ ((unused)) = { __nan_bytes }; + __attribute__ ((__unused__)) = { __nan_bytes }; # define NAN (__nan_union.__d) #endif /* GCC. */ diff --git a/sysdeps/ieee754/bits/nan.h b/sysdeps/ieee754/bits/nan.h index a1e6a51..935271a 100644 --- a/sysdeps/ieee754/bits/nan.h +++ b/sysdeps/ieee754/bits/nan.h @@ -46,7 +46,7 @@ # endif static union { unsigned char __c[4]; float __d; } __nan_union - __attribute__ ((unused)) = { __nan_bytes }; + __attribute__ ((__unused__)) = { __nan_bytes }; # define NAN (__nan_union.__d) #endif /* GCC. */ -- cgit v1.1