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
This commit is contained in:
Richard Kreckel 2003-06-02 18:03:23 +00:00 committed by Phil Edwards
parent b166bded9e
commit cc9c608f08
3 changed files with 11 additions and 4 deletions

View File

@ -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

View File

@ -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;

View File

@ -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);