svn commit: trunk/busybox/include
aldot at busybox.net
aldot at busybox.net
Tue Apr 10 11:40:06 PDT 2007
Author: aldot
Date: 2007-04-10 11:40:05 -0700 (Tue, 10 Apr 2007)
New Revision: 18386
Log:
- 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.
Modified:
trunk/busybox/include/platform.h
Changeset:
Modified: trunk/busybox/include/platform.h
===================================================================
--- trunk/busybox/include/platform.h 2007-04-10 17:18:12 UTC (rev 18385)
+++ trunk/busybox/include/platform.h 2007-04-10 18:40:05 UTC (rev 18386)
@@ -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
More information about the busybox-cvs
mailing list