X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=archival%2Fbz%2Fbzlib.h;h=1bb811c4a18a93a1e937c843045857779fa4f62e;hb=d553faf5a53cf9d72e16fc789451a92a797f1b70;hp=805e9b3287f09be1f270819db52e3e6b0e76efec;hpb=77f1ec1b9bf100e6c10aa0856c7156e321511785;p=oweals%2Fbusybox.git diff --git a/archival/bz/bzlib.h b/archival/bz/bzlib.h index 805e9b328..1bb811c4a 100644 --- a/archival/bz/bzlib.h +++ b/archival/bz/bzlib.h @@ -43,20 +43,22 @@ in the file LICENSE. #define BZ_CONFIG_ERROR (-9) typedef struct bz_stream { + void *state; char *next_in; char *next_out; unsigned avail_in; unsigned avail_out; /*unsigned long long total_in;*/ unsigned long long total_out; - void *state; } bz_stream; /*-- Core (low-level) library functions --*/ static void BZ2_bzCompressInit(bz_stream *strm, int blockSize100k); static int BZ2_bzCompress(bz_stream *strm, int action); -static int BZ2_bzCompressEnd(bz_stream *strm); +#if ENABLE_FEATURE_CLEAN_UP +static void BZ2_bzCompressEnd(bz_stream *strm); +#endif /*-------------------------------------------------------------*/ /*--- end bzlib.h ---*/