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/bl31 | |
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/bl31')
-rw-r--r-- | include/bl31/runtime_svc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bl31/runtime_svc.h b/include/bl31/runtime_svc.h index 87f2dd2c..03f906ef 100644 --- a/include/bl31/runtime_svc.h +++ b/include/bl31/runtime_svc.h @@ -88,7 +88,7 @@ typedef struct rt_svc_desc { */ #define DECLARE_RT_SVC(_name, _start, _end, _type, _setup, _smch) \ static const rt_svc_desc_t __svc_desc_ ## _name \ - __attribute__ ((section("rt_svc_descs"), used)) = { \ + __section("rt_svc_descs") __used = { \ .start_oen = _start, \ .end_oen = _end, \ .call_type = _type, \ |