aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/basics.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-15 20:38:45 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-16 01:08:43 -0400
commitf6428ce423802d55d218519f4f79a5dd9b4375dc (patch)
treebb7e9dfb48bf1dc286e7471f2e83601f16c1cdb9 /sim/ppc/basics.h
parentb778e6b0799680e1d2b70d6b9d4bd3daa8898702 (diff)
downloadfsf-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.h10
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 */