1 /* define a macro to wrap variables that would
2 otherwise generate UNUSED variable warnings
3 Note that GCC's attribute unused only supresses the warning, so
4 it is perfectly safe to declare something unused although it is not.
5 */
7 #ifdef UNUSED
8 #elif defined(__GNUC__)
9 # define UNUSED(x) x __attribute__((unused))
10 #elif defined(__LCLINT__)
11 # define UNUSED(x) /*@unused@*/ x
12 #else
13 # define UNUSED(x) x
14 #endif