mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-08 18:41:22 +00:00
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:
parent
70ecb564fd
commit
65cd299f52
12 changed files with 16 additions and 17 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue