diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-13 03:36:03 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-10-13 03:36:03 +0000 |
commit | 77f1ec1b9bf100e6c10aa0856c7156e321511785 (patch) | |
tree | f20e5a9062ecad82a43bde81e3041a19c4292733 /include/platform.h | |
parent | 11c23d7b990eae27357e5a41a97d62b9a214f7db (diff) | |
download | busybox-w32-77f1ec1b9bf100e6c10aa0856c7156e321511785.tar.gz busybox-w32-77f1ec1b9bf100e6c10aa0856c7156e321511785.tar.bz2 busybox-w32-77f1ec1b9bf100e6c10aa0856c7156e321511785.zip |
bzip2: port bzip2 1.0.4 to busybox. note: bzip2 code resides
in separate directory (archival/bz/*)
and is covered by BSD-style license.
code size: 13k
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h index 53d72829f..edb0f8ab0 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -54,7 +54,8 @@ | |||
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 ALWAYS_INLINE __attribute__ ((always_inline)) inline | 56 | # define ALWAYS_INLINE __attribute__ ((always_inline)) inline |
57 | # define NOINLINE __attribute__((noinline)) | 57 | /* I've seen a toolchain where I needed __noinline__ instead of noinline */ |
58 | # define NOINLINE __attribute__((__noinline__)) | ||
58 | # if !ENABLE_WERROR | 59 | # if !ENABLE_WERROR |
59 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) | 60 | # define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) |
60 | # define ATTRIBUTE_UNUSED_RESULT __attribute__ ((warn_unused_result)) | 61 | # define ATTRIBUTE_UNUSED_RESULT __attribute__ ((warn_unused_result)) |
@@ -63,7 +64,8 @@ | |||
63 | # define ATTRIBUTE_UNUSED_RESULT /* n/a */ | 64 | # define ATTRIBUTE_UNUSED_RESULT /* n/a */ |
64 | # endif | 65 | # endif |
65 | # else | 66 | # else |
66 | # define ALWAYS_INLINE inline | 67 | # define ALWAYS_INLINE inline /* n/a */ |
68 | # define NOINLINE /* n/a */ | ||
67 | # define ATTRIBUTE_DEPRECATED /* n/a */ | 69 | # define ATTRIBUTE_DEPRECATED /* n/a */ |
68 | # define ATTRIBUTE_UNUSED_RESULT /* n/a */ | 70 | # define ATTRIBUTE_UNUSED_RESULT /* n/a */ |
69 | # endif | 71 | # endif |