diff options
Diffstat (limited to 'src/Common/zlib/uncompr.c')
-rw-r--r-- | src/Common/zlib/uncompr.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/Common/zlib/uncompr.c b/src/Common/zlib/uncompr.c index f03a1a86..5e256663 100644 --- a/src/Common/zlib/uncompr.c +++ b/src/Common/zlib/uncompr.c @@ -23,14 +23,10 @@ memory, Z_BUF_ERROR if there was not enough room in the output buffer, or Z_DATA_ERROR if the input data was corrupted, including if the input data is an incomplete zlib stream. */ -int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) - Bytef *dest; - uLongf *destLen; - const Bytef *source; - uLong *sourceLen; -{ +int ZEXPORT uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, + uLong *sourceLen) { z_stream stream; int err; const uInt max = (uInt)-1; uLong len, left; @@ -82,12 +78,8 @@ int ZEXPORT uncompress2 (dest, destLen, source, sourceLen) err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR : err; } -int ZEXPORT uncompress (dest, destLen, source, sourceLen) - Bytef *dest; - uLongf *destLen; - const Bytef *source; - uLong sourceLen; -{ +int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, + uLong sourceLen) { return uncompress2(dest, destLen, source, &sourceLen); } |