- 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.
This commit is contained in:
parent
246b5c3916
commit
51f7ab6162
@ -54,8 +54,10 @@
|
|||||||
# define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m)))
|
# define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m)))
|
||||||
# if __GNUC_PREREQ (3,0)
|
# if __GNUC_PREREQ (3,0)
|
||||||
# define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline
|
# define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline
|
||||||
|
# define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
|
||||||
# else
|
# else
|
||||||
# define ATTRIBUTE_ALWAYS_INLINE inline
|
# define ATTRIBUTE_ALWAYS_INLINE inline
|
||||||
|
# define ATTRIBUTE_DEPRECATED /* n/a */
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
/* -fwhole-program makes all symbols local. The attribute externally_visible
|
/* -fwhole-program makes all symbols local. The attribute externally_visible
|
||||||
|
Loading…
Reference in New Issue
Block a user