X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flibchdr%2Fdeps%2Fzlib-1.3.1%2Funcompr.c;fp=deps%2Flibchdr%2Fdeps%2Fzlib-1.2.13%2Funcompr.c;h=5e256663b4511cdbfa52487f8f54e3c8de013119;hb=648db22b0750712da893c306efcc8e4b2d3a4e3c;hp=f9532f46c1a69f07a4045cf00cfb9ce42aca3802;hpb=e2fb1389dc12376acb84e4993ed3b08760257252;p=pcsx_rearmed.git diff --git a/deps/libchdr/deps/zlib-1.2.13/uncompr.c b/deps/libchdr/deps/zlib-1.3.1/uncompr.c similarity index 90% rename from deps/libchdr/deps/zlib-1.2.13/uncompr.c rename to deps/libchdr/deps/zlib-1.3.1/uncompr.c index f9532f46..5e256663 100644 --- a/deps/libchdr/deps/zlib-1.2.13/uncompr.c +++ b/deps/libchdr/deps/zlib-1.3.1/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); }