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 /docs/porting-guide.md | |
| 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 'docs/porting-guide.md')
| -rw-r--r-- | docs/porting-guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/porting-guide.md b/docs/porting-guide.md index cdb722af..687781a5 100644 --- a/docs/porting-guide.md +++ b/docs/porting-guide.md @@ -85,7 +85,7 @@ section identified by name `bakery_lock` inside `coherent_ram` so that its possible for the firmware to place variables in it using the following C code directive: - __attribute__ ((section("bakery_lock"))) + __section("bakery_lock") Or alternatively the following assembler code directive: |
