diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-04 21:38:14 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-04 21:38:14 +0000 |
commit | a59b1122ed375b1ce739a4afaee3d0bdebd2b438 (patch) | |
tree | eaba2fd2d705c3b823260a1066abcedd4d2d7510 | |
parent | ebd7b9ecdac76c534366a30d145723503e6f21fb (diff) | |
download | busybox-w32-a59b1122ed375b1ce739a4afaee3d0bdebd2b438.tar.gz busybox-w32-a59b1122ed375b1ce739a4afaee3d0bdebd2b438.tar.bz2 busybox-w32-a59b1122ed375b1ce739a4afaee3d0bdebd2b438.zip |
fix -Werror compile
git-svn-id: svn://busybox.net/trunk/busybox@18559 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h index ad3cc9332..c2013b39d 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -54,7 +54,11 @@ | |||
54 | # define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) | 54 | # define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m))) |
55 | # if __GNUC_PREREQ (3,0) | 55 | # if __GNUC_PREREQ (3,0) |
56 | # define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline | 56 | # define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline |
57 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) | 57 | # if !ENABLE_WERROR |
58 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) | ||
59 | # else | ||
60 | # define ATTRIBUTE_DEPRECATED /* n/a */ | ||
61 | # endif | ||
58 | # else | 62 | # else |
59 | # define ATTRIBUTE_ALWAYS_INLINE inline | 63 | # define ATTRIBUTE_ALWAYS_INLINE inline |
60 | # define ATTRIBUTE_DEPRECATED /* n/a */ | 64 | # define ATTRIBUTE_DEPRECATED /* n/a */ |