diff options
Diffstat (limited to 'sim/common/sim-inline.h')
-rw-r--r-- | sim/common/sim-inline.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/sim/common/sim-inline.h b/sim/common/sim-inline.h index ed7baa4..2750fa9 100644 --- a/sim/common/sim-inline.h +++ b/sim/common/sim-inline.h @@ -325,24 +325,10 @@ #endif -/* Your compiler's no-return reserved word */ - -#ifndef NORETURN -#define NORETURN -#endif - - - /* Your compilers's unused reserved word */ #if !defined (UNUSED) -#if (!defined (__GNUC__) \ - || (__GNUC__ < 2) \ - || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)) -#define UNUSED -#else -#define UNUSED __attribute__((__unused__)) -#endif +#define UNUSED ATTRIBUTE_UNUSED #endif |