summaryrefslogtreecommitdiff
path: root/zlib/uncompr.c
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-23 10:11:18 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-23 12:29:03 +0200
commitf456f2550ac222fac399911eeb01957be9230c80 (patch)
tree91a583acebcc240535e0fbda0f122429c9c1abae /zlib/uncompr.c
parentc61d6bc46aab9f5dd71639ef6b4d6c2baeda7e66 (diff)
Upgrade bundled zlib to version 1.3 dated 18-aug-2023
Diffstat (limited to 'zlib/uncompr.c')
-rw-r--r--zlib/uncompr.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/zlib/uncompr.c b/zlib/uncompr.c
index f9532f46c..5e256663b 100644
--- a/zlib/uncompr.c
+++ b/zlib/uncompr.c
@@ -24,12 +24,8 @@
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;
@@ -83,11 +79,7 @@ int ZEXPORT uncompress2(dest, destLen, source, sourceLen)
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);
}