diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 18:40:05 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-04-10 18:40:05 +0000 |
commit | 484b140884873063836c49a9ec45e8e28ae14fda (patch) | |
tree | e85f0a685070a2be15ade064d978eedc9236b1ad | |
parent | 8185a750125e3bbbad954f904963b4a2abb9f180 (diff) | |
download | busybox-w32-484b140884873063836c49a9ec45e8e28ae14fda.tar.gz busybox-w32-484b140884873063836c49a9ec45e8e28ae14fda.tar.bz2 busybox-w32-484b140884873063836c49a9ec45e8e28ae14fda.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.
git-svn-id: svn://busybox.net/trunk/busybox@18386 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 |