diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-15 20:38:45 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-16 01:08:43 -0400 |
commit | f6428ce423802d55d218519f4f79a5dd9b4375dc (patch) | |
tree | bb7e9dfb48bf1dc286e7471f2e83601f16c1cdb9 /sim/ppc/basics.h | |
parent | b778e6b0799680e1d2b70d6b9d4bd3daa8898702 (diff) | |
download | fsf-binutils-gdb-f6428ce423802d55d218519f4f79a5dd9b4375dc.zip fsf-binutils-gdb-f6428ce423802d55d218519f4f79a5dd9b4375dc.tar.gz fsf-binutils-gdb-f6428ce423802d55d218519f4f79a5dd9b4375dc.tar.bz2 |
sim: ppc: replace local UNUSED macros with common one
Drop local UNUSED macro with the common ansidecl.h ATTRIBUTE_UNUSED define.
Diffstat (limited to 'sim/ppc/basics.h')
-rw-r--r-- | sim/ppc/basics.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sim/ppc/basics.h b/sim/ppc/basics.h index d88bcef..a6a35ca 100644 --- a/sim/ppc/basics.h +++ b/sim/ppc/basics.h @@ -95,16 +95,6 @@ typedef enum { #endif #endif -#if !defined (UNUSED) -#if (!defined(__GNUC__) \ - || (__GNUC__ < 2) \ - || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)) -#define UNUSED -#else -#define UNUSED __attribute__((__unused__)) -#endif -#endif - /* Basic definitions - ordered so that nothing calls what comes after it */ |