aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/zlib/uncompr.c
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-09-06 21:59:05 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-09-06 22:15:57 +0300
commit53f81d0ce8d2103f54b291b25f171ecd00e13d81 (patch)
tree84e1a98ec06c4570e9dfbd9cf9176d22b3488d95 /contrib/libs/zlib/uncompr.c
parent645adb92481ca39f3981285fde9b5f41e783e978 (diff)
downloadydb-53f81d0ce8d2103f54b291b25f171ecd00e13d81.tar.gz
Update contrib/libs/zlib to 1.3
Diffstat (limited to 'contrib/libs/zlib/uncompr.c')
-rw-r--r--contrib/libs/zlib/uncompr.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/contrib/libs/zlib/uncompr.c b/contrib/libs/zlib/uncompr.c
index f9532f46c1..5e256663b4 100644
--- a/contrib/libs/zlib/uncompr.c
+++ b/contrib/libs/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);
}