1 $FreeBSD: src/lib/libstand/bzlib.c.diff,v 1.1.2.2 2002/02/18 09:13:03 sobomax Exp $
2 $DragonFly: src/lib/libstand/bzlib.c.diff,v 1.2 2003/06/17 04:26:51 dillon Exp $
4 A patch to avoid linking into libstand compression routines from the bzip2
5 that never being used anyway, while bloat loader(8) by additional 15KB.
7 --- _bzlib.c 2001/09/13 12:20:50 1.1
8 +++ _bzlib.c 2001/09/13 12:29:24
10 bzBuffToBuffDecompress. Fixed.
13 -#include "bzlib_private.h"
14 +#include "_bzlib_private.h"
16 +#ifndef BZ_NO_COMPRESS
18 /*---------------------------------------------------*/
19 /*--- Compression stuff ---*/
24 +#endif /* BZ_NO_COMPRESS */
26 /*---------------------------------------------------*/
29 if (addr != NULL) free ( addr );
32 +#ifndef BZ_NO_COMPRESS
34 /*---------------------------------------------------*/
40 +#endif /* BZ_NO_COMPRESS */
42 /*---------------------------------------------------*/
43 /*--- Decompression stuff ---*/
48 +#ifndef BZ_NO_COMPRESS
51 /*---------------------------------------------------*/
56 +#endif /* BZ_NO_COMPRESS */
58 /*-------------------------------------------------------------*/
59 /*--- end bzlib.c ---*/