From 484b140884873063836c49a9ec45e8e28ae14fda Mon Sep 17 00:00:00 2001 From: aldot Date: Tue, 10 Apr 2007 18:40:05 +0000 Subject: - 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 --- include/platform.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-55-g6feb