summaryrefslogtreecommitdiff
path: root/include/stdlib/sys
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2016-01-15 17:55:11 +0000
committerdanh-arm <dan.handley@arm.com>2016-01-15 17:55:11 +0000
commit6243e53067cdbf7e95c0cfce13dfb52b3aa1e9ab (patch)
treed4e80ffa4d5ceaae8ecf63aced058f38c195c268 /include/stdlib/sys
parentf9410b47c3ea36c9c231760a85efbbb7d6e575a7 (diff)
parent65cd299f52450cc93a6986c7a912a843a2c4f6da (diff)
Merge pull request #486 from Xilinx/issues/340
Clean up __attribute__ usage
Diffstat (limited to 'include/stdlib/sys')
-rw-r--r--include/stdlib/sys/cdefs.h2
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)