Changeset 988 for vendor/current/lib/util/attr.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/util/attr.h
r740 r988 21 21 #define __UTIL_ATTR_H__ 22 22 23 #ifndef _UNUSED_ 23 24 #ifdef __GNUC__ 24 25 /** gcc attribute used on function parameters so that it does not emit 25 26 * warnings about them being unused. **/ 26 # define UNUSED(param) param__attribute__ ((unused))27 # define _UNUSED_ __attribute__ ((unused)) 27 28 #else 28 # define UNUSED(param) param29 # define _UNUSED_ 29 30 /** Feel free to add definitions for other compilers here. */ 31 #endif 32 #endif 33 #ifndef UNUSED 34 #define UNUSED(param) param _UNUSED_ 30 35 #endif 31 36
Note:
See TracChangeset
for help on using the changeset viewer.