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-51f7ab6162a1be2e52d7b2ccc53acb6700769d0b.tar.gz |
- 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 @@ # define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) # if __GNUC_PREREQ (3,0) # define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline +# define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) # else # define ATTRIBUTE_ALWAYS_INLINE inline +# define ATTRIBUTE_DEPRECATED /* n/a */ # endif /* -fwhole-program makes all symbols local. The attribute externally_visible |