diff options
Diffstat (limited to 'archival/bz/bzlib.h')
-rw-r--r-- | archival/bz/bzlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archival/bz/bzlib.h b/archival/bz/bzlib.h index 602aab926..1bb811c4a 100644 --- a/archival/bz/bzlib.h +++ b/archival/bz/bzlib.h | |||
@@ -43,20 +43,22 @@ in the file LICENSE. | |||
43 | #define BZ_CONFIG_ERROR (-9) | 43 | #define BZ_CONFIG_ERROR (-9) |
44 | 44 | ||
45 | typedef struct bz_stream { | 45 | typedef struct bz_stream { |
46 | void *state; | ||
46 | char *next_in; | 47 | char *next_in; |
47 | char *next_out; | 48 | char *next_out; |
48 | unsigned avail_in; | 49 | unsigned avail_in; |
49 | unsigned avail_out; | 50 | unsigned avail_out; |
50 | /*unsigned long long total_in;*/ | 51 | /*unsigned long long total_in;*/ |
51 | unsigned long long total_out; | 52 | unsigned long long total_out; |
52 | void *state; | ||
53 | } bz_stream; | 53 | } bz_stream; |
54 | 54 | ||
55 | /*-- Core (low-level) library functions --*/ | 55 | /*-- Core (low-level) library functions --*/ |
56 | 56 | ||
57 | static void BZ2_bzCompressInit(bz_stream *strm, int blockSize100k); | 57 | static void BZ2_bzCompressInit(bz_stream *strm, int blockSize100k); |
58 | static int BZ2_bzCompress(bz_stream *strm, int action); | 58 | static int BZ2_bzCompress(bz_stream *strm, int action); |
59 | #if ENABLE_FEATURE_CLEAN_UP | ||
59 | static void BZ2_bzCompressEnd(bz_stream *strm); | 60 | static void BZ2_bzCompressEnd(bz_stream *strm); |
61 | #endif | ||
60 | 62 | ||
61 | /*-------------------------------------------------------------*/ | 63 | /*-------------------------------------------------------------*/ |
62 | /*--- end bzlib.h ---*/ | 64 | /*--- end bzlib.h ---*/ |