You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
414 B

/* define a macro to wrap variables that would
otherwise generate UNUSED variable warnings
Note that GCC's attribute unused only supresses the warning, so
it is perfectly safe to declare something unused although it is not.
*/
#ifdef UNUSED
#elif defined(__GNUC__)
# define UNUSED(x) x __attribute__((unused))
#elif defined(__LCLINT__)
# define UNUSED(x) /*@unused@*/ x
#else
# define UNUSED(x) x
#endif