if called with --lazy we still want to PRINT ... -- Bartek Szady bszx from bszx.eu.org
[rrdtool.git] / src / unused.h
1 /* define a macro to wrap variables in that would
2    otherwhise generate UNUSED variable warnings */
3
4 #ifdef UNUSED
5 #elif defined(__GNUC__)
6 # define UNUSED(x) x __attribute__((unused))
7 #elif defined(__LCLINT__)
8 # define UNUSED(x) /*@unused@*/ x
9 #else
10 # define UNUSED(x) x
11 #endif