aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorRichard Kreckel <Richard.Kreckel@GiNaC.DE>2003-06-02 18:03:23 +0000
committerPhil Edwards <pme@gcc.gnu.org>2003-06-02 18:03:23 +0000
commitcc9c608f08f26dada89538d1d2f64c0484369aa7 (patch)
treea31e813669d45b65b34fb7a00571688b6405e698 /libstdc++-v3
parentb166bded9e890d88f88ea7b42a78d82b68efb8ac (diff)
downloadgcc-cc9c608f08f26dada89538d1d2f64c0484369aa7.zip
gcc-cc9c608f08f26dada89538d1d2f64c0484369aa7.tar.gz
gcc-cc9c608f08f26dada89538d1d2f64c0484369aa7.tar.bz2
re PR libstdc++/11062 (Please avoid __attribute__ ((unused)))
2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE> PR libstdc++/11062 * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to __attribute__ ((__unused__)). * config/os/aix/atomicity.h: Likewise. From-SVN: r67340
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/config/cpu/mips/atomicity.h4
-rw-r--r--libstdc++-v3/config/os/aix/atomicity.h4
3 files changed, 11 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index cac15bb..035215f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2003-06-02 Richard Kreckel <Richard.Kreckel@GiNaC.DE>
+
+ PR libstdc++/11062
+ * config/cpu/mips/atomicity.h: Change __attribute__ ((unused)) to
+ __attribute__ ((__unused__)).
+ * config/os/aix/atomicity.h: Likewise.
+
2003-06-02 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9761
diff --git a/libstdc++-v3/config/cpu/mips/atomicity.h b/libstdc++-v3/config/cpu/mips/atomicity.h
index 098d063..e0016b0 100644
--- a/libstdc++-v3/config/cpu/mips/atomicity.h
+++ b/libstdc++-v3/config/cpu/mips/atomicity.h
@@ -33,7 +33,7 @@
typedef int _Atomic_word;
static inline int
-__attribute__ ((unused))
+__attribute__ ((__unused__))
__exchange_and_add (volatile _Atomic_word *__mem, int __val)
{
int __result, __tmp;
@@ -59,7 +59,7 @@ __exchange_and_add (volatile _Atomic_word *__mem, int __val)
}
static inline void
-__attribute__ ((unused))
+__attribute__ ((__unused__))
__atomic_add (volatile _Atomic_word *__mem, int __val)
{
int __result;
diff --git a/libstdc++-v3/config/os/aix/atomicity.h b/libstdc++-v3/config/os/aix/atomicity.h
index ecac7da..af4fa5a 100644
--- a/libstdc++-v3/config/os/aix/atomicity.h
+++ b/libstdc++-v3/config/os/aix/atomicity.h
@@ -43,14 +43,14 @@ typedef int _Atomic_word;
#include <sys/atomic_op.h>
static inline int
-__attribute__ ((unused))
+__attribute__ ((__unused__))
__exchange_and_add (atomic_p __mem, int __val)
{
return fetch_and_add (__mem, __val);
}
static inline void
-__attribute__ ((unused))
+__attribute__ ((__unused__))
__atomic_add (atomic_p __mem, int __val)
{
(void) fetch_and_add (__mem, __val);