]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/sim-inline.h
sim: replace custom attributes with ansidecl.h
[thirdparty/binutils-gdb.git] / sim / common / sim-inline.h
index ed7baa4b7106e120133fd2766e03d98f3b8c65ab..2750fa93cbc731d4b1c1e1f7ad1dac6b8680f4ac 100644 (file)
 #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