Changeset 3199
- Timestamp:
- 2007-08-21 15:52:32 (1 year ago)
- Files:
-
- liboggz/trunk/src/liboggz/oggz_macros.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
liboggz/trunk/src/liboggz/oggz_macros.h
r805 r3199 48 48 #define MAX(a,b) ((a)>(b)?(a):(b)) 49 49 50 /* 51 ** Inspiration : http://sourcefrog.net/weblog/software/languages/C/unused.html 52 */ 53 #ifdef UNUSED 54 #elif defined (__GNUC__) 55 # define UNUSED(x) UNUSED_ ## x __attribute__ ((unused)) 56 #elif defined (__LCLINT__) 57 # define UNUSED(x) /*@unused@*/ x 58 #else 59 # define UNUSED(x) x 60 #endif 61 62 #ifdef __GNUC__ 63 # define WARN_UNUSED __attribute__ ((warn_unused_result)) 64 #else 65 # define WARN_UNUSED 66 #endif 67 50 68 #endif /* __OGGZ_MACROS_H__ */