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
This commit is contained in:
Denis Vlasenko
2007-10-13 03:36:03 +00:00
parent 11c23d7b99
commit 77f1ec1b9b
20 changed files with 3253 additions and 22 deletions

View File

@ -54,7 +54,8 @@
# define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m)))
# if __GNUC_PREREQ (3,0)
# define ALWAYS_INLINE __attribute__ ((always_inline)) inline
# define NOINLINE __attribute__((noinline))
/* I've seen a toolchain where I needed __noinline__ instead of noinline */
# define NOINLINE __attribute__((__noinline__))
# if !ENABLE_WERROR
# define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
# define ATTRIBUTE_UNUSED_RESULT __attribute__ ((warn_unused_result))
@ -63,7 +64,8 @@
# define ATTRIBUTE_UNUSED_RESULT /* n/a */
# endif
# else
# define ALWAYS_INLINE inline
# define ALWAYS_INLINE inline /* n/a */
# define NOINLINE /* n/a */
# define ATTRIBUTE_DEPRECATED /* n/a */
# define ATTRIBUTE_UNUSED_RESULT /* n/a */
# endif