sim: ppc: replace local UNUSED macros with common one

Drop local UNUSED macro with the common ansidecl.h ATTRIBUTE_UNUSED define.
This commit is contained in:
Mike Frysinger
2021-06-15 20:38:45 -04:00
parent b778e6b079
commit f6428ce423
5 changed files with 97 additions and 96 deletions

View File

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