projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246b5c3
)
- add ATTRIBUTE_DEPRECATED for functions that should be removed in the future.
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Tue, 10 Apr 2007 18:40:05 +0000
(18:40 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Tue, 10 Apr 2007 18:40:05 +0000
(18:40 -0000)
This is ment to provide means to point at cruft marked for cleanup.
include/platform.h
patch
|
blob
|
history
diff --git
a/include/platform.h
b/include/platform.h
index 69d031dcae377fddde7b25a0228aaf6afb095e11..51add6c0f2dd7eb63d0cb8a3ae21fa98a785fa4a 100644
(file)
--- 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