arm-trusted-firmware/include/lib
Sandrine Bailleux c17a4dc34c Make CASSERT() macro callable from anywhere
The CASSERT() macro introduces a typedef for the sole purpose of
triggering a compilation error if the condition to check is false.
This typedef is not used afterwards. As a consequence, when the
CASSERT() macro is called from withing a function block, the compiler
complains and outputs the following error message:

  error: typedef 'msg' locally defined but not used [-Werror=unused-local-typedefs]

This patch adds the "unused" attribute for the aforementioned
typedef. This silences the compiler warning and thus makes the
CASSERT() macro callable from within function blocks as well.

Change-Id: Ie36b58fcddae01a21584c48bb6ef43ec85590479
2015-10-19 08:52:35 +01:00
..
aarch64 Make generic code work in presence of system caches 2015-09-14 22:09:40 +01:00
cpus/aarch64 Add macros for retention control in Cortex-A53/A57 2015-08-24 21:30:21 +05:30
bakery_lock.h Re-design bakery lock memory allocation and algorithm 2015-09-11 16:19:21 +01:00
cassert.h Make CASSERT() macro callable from anywhere 2015-10-19 08:52:35 +01:00
mmio.h Add mmio utility functions 2015-08-05 19:55:06 +08:00
semihosting.h Remove variables from .data section 2014-05-06 17:55:38 +01:00
spinlock.h Always use named structs in header files 2014-05-06 13:57:48 +01:00