about summary refs log tree commit diff
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2013-02-19 13:06:39 +0100
committerThomas Schwinge <thomas@codesourcery.com>2013-02-20 16:49:58 +0100
commitc7b275d6b3bceb6b400fa3044d13d1001bc605ca (patch)
tree1eaf349503f8f1fa4a402dc321456ee0e0cadb19
parent72f0ffdcbeb8135d04cf2dc73f8a5f5c7783a283 (diff)
downloadglibc-c7b275d6b3bceb6b400fa3044d13d1001bc605ca.tar.gz
glibc-c7b275d6b3bceb6b400fa3044d13d1001bc605ca.tar.xz
glibc-c7b275d6b3bceb6b400fa3044d13d1001bc605ca.zip
bits/nan.h: Change __attribute_used__ to __attribute__ ((unused)).
-rw-r--r--ChangeLog5
-rw-r--r--ports/ChangeLog.mips3
-rw-r--r--ports/sysdeps/mips/bits/nan.h2
-rw-r--r--sysdeps/ieee754/bits/nan.h2
4 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2096d50b5c..853c64eb40 100644
--- 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
diff --git a/ports/ChangeLog.mips b/ports/ChangeLog.mips
index 936ab170b8..8954f9a748 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_used__ to __attribute__ ((unused)).
+
 	* sysdeps/mips/bits/nan.h [!__GNUC__] (__nan_union): Add
 	__attribute_used__.
 
diff --git a/ports/sysdeps/mips/bits/nan.h b/ports/sysdeps/mips/bits/nan.h
index 71f372d642..8f4666d005 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_used__ = { __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 d3ab38ba72..a1e6a5189d 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_used__ = { __nan_bytes };
+  __attribute__ ((unused)) = { __nan_bytes };
 # define NAN	(__nan_union.__d)
 
 #endif	/* GCC.  */