tests: Fix warnings about unused parameters.

This commit is contained in:
Simon Ruderich
2013-06-10 15:22:17 +02:00
parent 2f1aa1cdd3
commit afca2864dc
5 changed files with 23 additions and 5 deletions

View File

@@ -24,9 +24,11 @@
#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. */