]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/blobdiff - src/compiler.h
tests: Fix warnings about unused parameters.
[coloredstderr/coloredstderr.git] / src / compiler.h
index 4a69adf066c59cacd63caea63ec8110dd43fff39..5ede8b21802e3610eb4385640948feb5102896c9 100644 (file)
 #ifdef HAVE___ATTRIBUTE__
 # define noinline      __attribute__((noinline))
 # define always_inline __attribute__((always_inline))
+# define unused        __attribute__((unused))
 #else
 # define noinline
 # define always_inline
+# define unused
 #endif
 
 /* Branch prediction information for the compiler. */