From 1f2a8f90c2b92a4ba7e0d2add1c065491ff2cc9c Mon Sep 17 00:00:00 2001 From: justin1014 Date: Tue, 1 Oct 2002 06:36:17 +0000 Subject: [PATCH] 2 bytes removed from zlib hehe long way to go to catch up to bzip2 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1246 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/zlib/INFLATE.C | 4 +--- Source/zlib/ZLIB.H | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/zlib/INFLATE.C b/Source/zlib/INFLATE.C index 115dd0a7..7a9689a4 100644 --- a/Source/zlib/INFLATE.C +++ b/Source/zlib/INFLATE.C @@ -15,14 +15,12 @@ #include "infcodes.h" #include "infutil.h" -int ZEXPORT inflateInit(z_streamp z) +void inflateInit(z_streamp z) { z->blocks.end = z->blocks.window + (1 << DEF_WBITS); z->blocks.mode = TYPE; inflateReset(z); - - return Z_OK; } diff --git a/Source/zlib/ZLIB.H b/Source/zlib/ZLIB.H index b0871490..499f11ff 100644 --- a/Source/zlib/ZLIB.H +++ b/Source/zlib/ZLIB.H @@ -196,7 +196,7 @@ typedef z_stream FAR *z_streamp; ZEXTERN int ZEXPORT deflate OF((z_streamp strm, int flush)); ZEXTERN int ZEXPORT deflateEnd OF((z_streamp strm)); -ZEXTERN int ZEXPORT inflateInit OF((z_streamp strm)); +ZEXTERN void ZEXPORT inflateInit OF((z_streamp strm)); int ZEXPORT inflate(z_streamp z); ZEXTERN int ZEXPORT inflateEnd OF((z_streamp strm));