Remove direct usage of __attribute__((foo))

Migrate all direct usage of __attribute__ to usage of their
corresponding macros from cdefs.h.
e.g.:
 - __attribute__((unused)) -> __unused

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
This commit is contained in:
Soren Brinkmann 2016-01-14 10:11:05 -08:00
parent 70ecb564fd
commit 65cd299f52
12 changed files with 16 additions and 17 deletions

View file

@ -40,6 +40,6 @@
* compiler warning.
******************************************************************************/
#define CASSERT(cond, msg) \
typedef char msg[(cond) ? 1 : -1] __attribute__((unused))
typedef char msg[(cond) ? 1 : -1] __unused
#endif /* __CASSERT_H__ */