diff options
author | danh-arm <dan.handley@arm.com> | 2016-01-15 17:55:11 +0000 |
---|---|---|
committer | danh-arm <dan.handley@arm.com> | 2016-01-15 17:55:11 +0000 |
commit | 6243e53067cdbf7e95c0cfce13dfb52b3aa1e9ab (patch) | |
tree | d4e80ffa4d5ceaae8ecf63aced058f38c195c268 /include/stdlib/sys/cdefs.h | |
parent | f9410b47c3ea36c9c231760a85efbbb7d6e575a7 (diff) | |
parent | 65cd299f52450cc93a6986c7a912a843a2c4f6da (diff) |
Merge pull request #486 from Xilinx/issues/340
Clean up __attribute__ usage
Diffstat (limited to 'include/stdlib/sys/cdefs.h')
-rw-r--r-- | include/stdlib/sys/cdefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stdlib/sys/cdefs.h b/include/stdlib/sys/cdefs.h index 16fb1519..e6960f68 100644 --- a/include/stdlib/sys/cdefs.h +++ b/include/stdlib/sys/cdefs.h @@ -283,8 +283,10 @@ #if __GNUC_PREREQ__(3, 1) #define __noinline __attribute__ ((__noinline__)) +#define __deprecated __attribute__ ((deprecated)) #else #define __noinline +#define __deprecated #endif #if __GNUC_PREREQ__(3, 3) |