diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2015-03-02 18:02:18 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2015-03-02 18:02:18 +0000 |
commit | 7727f8f2c0e1a68851b646ad124d46a4dfb3be5d (patch) | |
tree | 0941b9e46d636e959716b1a1b80466574e93f5f1 /libgcc/gthr-single.h | |
parent | 9d8dbe732a0df0604dd1a2db1e4495e3eba686a8 (diff) | |
download | gcc-7727f8f2c0e1a68851b646ad124d46a4dfb3be5d.zip gcc-7727f8f2c0e1a68851b646ad124d46a4dfb3be5d.tar.gz gcc-7727f8f2c0e1a68851b646ad124d46a4dfb3be5d.tar.bz2 |
re PR libgcc/64885 (libstdc++ all_attributes failure)
PR libgcc/64885
* gthr-single.h: Use __unused__ attribute instead of unused.
* config/gthr-vxworks.h: Likewise.
* config/i386/gthr-win32.h: Likewise.
From-SVN: r221120
Diffstat (limited to 'libgcc/gthr-single.h')
-rw-r--r-- | libgcc/gthr-single.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/gthr-single.h b/libgcc/gthr-single.h index f084fe2..bddded4 100644 --- a/libgcc/gthr-single.h +++ b/libgcc/gthr-single.h @@ -38,7 +38,7 @@ typedef int __gthread_recursive_mutex_t; #define __GTHREAD_MUTEX_INIT_FUNCTION(mx) #define __GTHREAD_RECURSIVE_MUTEX_INIT 0 -#define UNUSED __attribute__((unused)) +#define UNUSED __attribute__((__unused__)) #ifdef _LIBOBJC |