diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-10 18:40:05 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-10 18:40:05 +0000 |
commit | 51f7ab6162a1be2e52d7b2ccc53acb6700769d0b (patch) | |
tree | e85f0a685070a2be15ade064d978eedc9236b1ad | |
parent | 246b5c3916f0bdbe4ef61b61048ea78e057f8e01 (diff) | |
download | busybox-w32-51f7ab6162a1be2e52d7b2ccc53acb6700769d0b.tar.gz busybox-w32-51f7ab6162a1be2e52d7b2ccc53acb6700769d0b.tar.bz2 busybox-w32-51f7ab6162a1be2e52d7b2ccc53acb6700769d0b.zip |
- add ATTRIBUTE_DEPRECATED for functions that should be removed in the future.
This is ment to provide means to point at cruft marked for cleanup.
-rw-r--r-- | include/platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 69d031dca..51add6c0f 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -54,8 +54,10 @@ | |||
54 | # define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) | 54 | # define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) |
55 | # if __GNUC_PREREQ (3,0) | 55 | # if __GNUC_PREREQ (3,0) |
56 | # define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline | 56 | # define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline |
57 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) | ||
57 | # else | 58 | # else |
58 | # define ATTRIBUTE_ALWAYS_INLINE inline | 59 | # define ATTRIBUTE_ALWAYS_INLINE inline |
60 | # define ATTRIBUTE_DEPRECATED /* n/a */ | ||
59 | # endif | 61 | # endif |
60 | 62 | ||
61 | /* -fwhole-program makes all symbols local. The attribute externally_visible | 63 | /* -fwhole-program makes all symbols local. The attribute externally_visible |