diff options
Diffstat (limited to 'uncompr.c')
-rw-r--r-- | uncompr.c | 16 |
1 files changed, 4 insertions, 12 deletions
@@ -24,12 +24,8 @@ | |||
24 | Z_DATA_ERROR if the input data was corrupted, including if the input data is | 24 | Z_DATA_ERROR if the input data was corrupted, including if the input data is |
25 | an incomplete zlib stream. | 25 | an incomplete zlib stream. |
26 | */ | 26 | */ |
27 | int ZEXPORT uncompress2(dest, destLen, source, sourceLen) | 27 | int ZEXPORT uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, |
28 | Bytef *dest; | 28 | uLong *sourceLen) { |
29 | uLongf *destLen; | ||
30 | const Bytef *source; | ||
31 | uLong *sourceLen; | ||
32 | { | ||
33 | z_stream stream; | 29 | z_stream stream; |
34 | int err; | 30 | int err; |
35 | const uInt max = (uInt)-1; | 31 | const uInt max = (uInt)-1; |
@@ -83,11 +79,7 @@ int ZEXPORT uncompress2(dest, destLen, source, sourceLen) | |||
83 | err; | 79 | err; |
84 | } | 80 | } |
85 | 81 | ||
86 | int ZEXPORT uncompress(dest, destLen, source, sourceLen) | 82 | int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, |
87 | Bytef *dest; | 83 | uLong sourceLen) { |
88 | uLongf *destLen; | ||
89 | const Bytef *source; | ||
90 | uLong sourceLen; | ||
91 | { | ||
92 | return uncompress2(dest, destLen, source, &sourceLen); | 84 | return uncompress2(dest, destLen, source, &sourceLen); |
93 | } | 85 | } |