]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
bits/nan.h: Change __attribute_used__ to __attribute__ ((unused)).
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 19 Feb 2013 12:06:39 +0000 (13:06 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 20 Feb 2013 15:49:58 +0000 (16:49 +0100)
ChangeLog
ports/ChangeLog.mips
ports/sysdeps/mips/bits/nan.h
sysdeps/ieee754/bits/nan.h

index 2096d50b5c299589278f7b7651e6bc5dfcc3de29..853c64eb402047bc846b6e1fc42b5d0aaafb39ec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
+       __attribute_used__ to __attribute__ ((unused)).
+
 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
index 936ab170b859800e5c2a4d02526edd601405788a..8954f9a748b3ee2b10f5deb31cc3139f8d3b16dd 100644 (file)
@@ -1,5 +1,8 @@
 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
 
+       * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Change
+       __attribute_used__ to __attribute__ ((unused)).
+
        * sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
        __attribute_used__.
 
index 71f372d64203acf2764d3a4ad0f2314723a835e9..8f4666d005d978063bdf3649747dded143460394 100644 (file)
@@ -50,7 +50,7 @@
 # endif
 
 static union { unsigned char __c[4]; float __d; } __nan_union
-    __attribute_used__ = { __nan_bytes };
+  __attribute__ ((unused)) = { __nan_bytes };
 # define NAN   (__nan_union.__d)
 
 #endif /* GCC.  */
index d3ab38ba72d3dd6fe7201345e028b0afd45950ad..a1e6a5189d450c2b551c85e7f88e3d2074f24623 100644 (file)
@@ -46,7 +46,7 @@
 # endif
 
 static union { unsigned char __c[4]; float __d; } __nan_union
-    __attribute_used__ = { __nan_bytes };
+  __attribute__ ((unused)) = { __nan_bytes };
 # define NAN   (__nan_union.__d)
 
 #endif /* GCC.  */