aboutsummaryrefslogtreecommitdiff
path: root/uncompr.c
diff options
context:
space:
mode:
Diffstat (limited to 'uncompr.c')
-rw-r--r--uncompr.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/uncompr.c b/uncompr.c
index f9532f4..5e25666 100644
--- a/uncompr.c
+++ b/uncompr.c
@@ -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*/
27int ZEXPORT uncompress2(dest, destLen, source, sourceLen) 27int 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
86int ZEXPORT uncompress(dest, destLen, source, sourceLen) 82int 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}