summaryrefslogtreecommitdiff
path: root/plat/arm/common/arm_io_storage.c
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2016-01-14 10:11:05 -0800
committerSoren Brinkmann <soren.brinkmann@xilinx.com>2016-01-14 10:55:17 -0800
commit65cd299f52450cc93a6986c7a912a843a2c4f6da (patch)
tree09564e001013dc3206a63d448ebeac449edfabf8 /plat/arm/common/arm_io_storage.c
parent70ecb564fd9f9acee231631757ce17c19c66d610 (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 'plat/arm/common/arm_io_storage.c')
-rw-r--r--plat/arm/common/arm_io_storage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/arm/common/arm_io_storage.c b/plat/arm/common/arm_io_storage.c
index 8c5845ce..153fdfe8 100644
--- a/plat/arm/common/arm_io_storage.c
+++ b/plat/arm/common/arm_io_storage.c
@@ -277,9 +277,9 @@ void plat_arm_io_setup(void)
}
int plat_arm_get_alt_image_source(
- unsigned int image_id __attribute__((unused)),
- uintptr_t *dev_handle __attribute__((unused)),
- uintptr_t *image_spec __attribute__((unused)))
+ unsigned int image_id __unused,
+ uintptr_t *dev_handle __unused,
+ uintptr_t *image_spec __unused)
{
/* By default do not try an alternative */
return -ENOENT;