aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@purist.soma.redhat.com>2000-09-08 01:30:38 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2000-09-08 01:30:38 +0000
commitf1158db34242a2bfcce395ebbe4f6ab7a1eaa759 (patch)
treefa4fca8624f9573177c9486a145aebd16f3a9a36 /libstdc++-v3
parent6db8315512a9bd430f8b56797aa8f05d624ad525 (diff)
downloadgcc-f1158db34242a2bfcce395ebbe4f6ab7a1eaa759.zip
gcc-f1158db34242a2bfcce395ebbe4f6ab7a1eaa759.tar.gz
gcc-f1158db34242a2bfcce395ebbe4f6ab7a1eaa759.tar.bz2
atomicity.h (__exchange_and_add): Change unused to __unused__.
2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused to __unused__. * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here. * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here. From-SVN: r36255
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/config/cpu/i386/bits/atomicity.h6
-rw-r--r--libstdc++-v3/config/cpu/i486/bits/atomicity.h4
-rw-r--r--libstdc++-v3/config/cpu/ia64/bits/atomicity.h2
4 files changed, 16 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index c644f17..ad0d3d2 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2000-09-07 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
+
+ * config/cpu/i386/bits/atomicity.h (__exchange_and_add): Change unused
+ to __unused__.
+ * config/cpu/ia64/bits/atomicity.h (__exchange_and_add): And here.
+ * config/cpu/i486/bits/atomicity.h (__exchange_and_add): And here.
+
2000-09-07 Phil Edwards <pme@sources.redhat.com>
Add bits for --enable-maintainer-mode:
diff --git a/libstdc++-v3/config/cpu/i386/bits/atomicity.h b/libstdc++-v3/config/cpu/i386/bits/atomicity.h
index 924866b..b3e07f7 100644
--- a/libstdc++-v3/config/cpu/i386/bits/atomicity.h
+++ b/libstdc++-v3/config/cpu/i386/bits/atomicity.h
@@ -23,7 +23,7 @@
typedef int _Atomic_word;
static inline _Atomic_word
-__attribute__ ((unused))
+__attribute__ ((__unused__))
__exchange_and_add (volatile _Atomic_word *__mem, int __val)
{
register _Atomic_word __result;
@@ -43,3 +43,7 @@ __atomic_add (volatile _Atomic_word* __mem, int __val)
}
#endif /* atomicity.h */
+
+
+
+
diff --git a/libstdc++-v3/config/cpu/i486/bits/atomicity.h b/libstdc++-v3/config/cpu/i486/bits/atomicity.h
index c81e909..617be5e 100644
--- a/libstdc++-v3/config/cpu/i486/bits/atomicity.h
+++ b/libstdc++-v3/config/cpu/i486/bits/atomicity.h
@@ -23,7 +23,7 @@
typedef int _Atomic_word;
static inline _Atomic_word
-__attribute__ ((unused))
+__attribute__ ((__unused__))
__exchange_and_add (volatile _Atomic_word *__mem, int __val)
{
register _Atomic_word __result;
@@ -56,3 +56,5 @@ __compare_and_swap (volatile long* __p, long __oldval, long __newval)
}
#endif /* atomicity.h */
+
+
diff --git a/libstdc++-v3/config/cpu/ia64/bits/atomicity.h b/libstdc++-v3/config/cpu/ia64/bits/atomicity.h
index 18b3ac0..d229331 100644
--- a/libstdc++-v3/config/cpu/ia64/bits/atomicity.h
+++ b/libstdc++-v3/config/cpu/ia64/bits/atomicity.h
@@ -25,7 +25,7 @@
typedef int _Atomic_word;
static inline _Atomic_word
-__attribute__ ((unused))
+__attribute__ ((__unused__))
__exchange_and_add (volatile _Atomic_word *__mem, int __val)
{
return __sync_fetch_and_add (__mem, __val);