diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-01-14 10:11:05 -0800 |
---|---|---|
committer | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-01-14 10:55:17 -0800 |
commit | 65cd299f52450cc93a6986c7a912a843a2c4f6da (patch) | |
tree | 09564e001013dc3206a63d448ebeac449edfabf8 /include/drivers/auth | |
parent | 70ecb564fd9f9acee231631757ce17c19c66d610 (diff) |
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>
Diffstat (limited to 'include/drivers/auth')
-rw-r--r-- | include/drivers/auth/img_parser_mod.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drivers/auth/img_parser_mod.h b/include/drivers/auth/img_parser_mod.h index d80e0fb7..79d7d797 100644 --- a/include/drivers/auth/img_parser_mod.h +++ b/include/drivers/auth/img_parser_mod.h @@ -77,7 +77,7 @@ int img_parser_get_auth_param(img_type_t img_type, /* Macro to register an image parser library */ #define REGISTER_IMG_PARSER_LIB(_type, _name, _init, _check_int, _get_param) \ static const img_parser_lib_desc_t __img_parser_lib_desc_##_type \ - __attribute__ ((section(".img_parser_lib_descs"), used)) = { \ + __section(".img_parser_lib_descs") __used = { \ .img_type = _type, \ .name = _name, \ .init = _init, \ |