aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-02-20 18:51:56 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-02-20 18:51:56 +0100
commit50022a93fcc36a0130b9f882709ff69f4b91c0cc (patch)
treeb7ceebc50196917d263192e48ae08da4fd54d29e /ports
parent08cbd996d33114ca50644d060fbe3a08260430fb (diff)
downloadglibc-50022a93fcc36a0130b9f882709ff69f4b91c0cc.zip
glibc-50022a93fcc36a0130b9f882709ff69f4b91c0cc.tar.gz
glibc-50022a93fcc36a0130b9f882709ff69f4b91c0cc.tar.bz2
Respect the user's namespace in installed header files.
Fixup for commit c7b275d6b3bceb6b400fa3044d13d1001bc605ca.
Diffstat (limited to 'ports')
-rw-r--r--ports/ChangeLog.mips3
-rw-r--r--ports/sysdeps/mips/bits/nan.h2
2 files changed, 4 insertions, 1 deletions
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 <thomas@codesourcery.com>
+ * 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. */