forked from Imagelibrary/binutils-gdb
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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user