3 A patch to avoid linking into libstand compression routines from the bzip2
4 that never being used anyway, while bloat loader(8) by additional 15KB.
6 --- _bzlib.c 2001/09/13 12:20:50 1.1
7 +++ _bzlib.c 2001/09/13 12:29:24
9 bzBuffToBuffDecompress. Fixed.
12 -#include "bzlib_private.h"
13 +#include "_bzlib_private.h"
15 +#ifndef BZ_NO_COMPRESS
17 /*---------------------------------------------------*/
18 /*--- Compression stuff ---*/
23 +#endif /* BZ_NO_COMPRESS */
25 /*---------------------------------------------------*/
28 if (addr != NULL) free ( addr );
31 +#ifndef BZ_NO_COMPRESS
33 /*---------------------------------------------------*/
39 +#endif /* BZ_NO_COMPRESS */
41 /*---------------------------------------------------*/
42 /*--- Decompression stuff ---*/
47 +#ifndef BZ_NO_COMPRESS
50 /*---------------------------------------------------*/
55 +#endif /* BZ_NO_COMPRESS */
57 /*-------------------------------------------------------------*/
58 /*--- end bzlib.c ---*/