diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2023-04-15 11:16:17 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2023-04-15 22:56:37 -0700 |
commit | bf2578be2d0566dc3ee47655d56b62063fe6bae6 (patch) | |
tree | bcd69242c3cda836d7f146d44008be4f1b99fe56 /contrib/minizip/mztools.c | |
parent | c4aa356742e03af6670c043905cd2c96f515ad72 (diff) | |
download | zlib-bf2578be2d0566dc3ee47655d56b62063fe6bae6.tar.gz zlib-bf2578be2d0566dc3ee47655d56b62063fe6bae6.tar.bz2 zlib-bf2578be2d0566dc3ee47655d56b62063fe6bae6.zip |
Remove K&R function definitions from contrib/minizip.
Diffstat (limited to 'contrib/minizip/mztools.c')
-rw-r--r-- | contrib/minizip/mztools.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/contrib/minizip/mztools.c b/contrib/minizip/mztools.c index 96891c2..c8d2375 100644 --- a/contrib/minizip/mztools.c +++ b/contrib/minizip/mztools.c | |||
@@ -27,13 +27,7 @@ | |||
27 | WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \ | 27 | WRITE_16((unsigned char*)(buff) + 2, (n) >> 16); \ |
28 | } while(0) | 28 | } while(0) |
29 | 29 | ||
30 | extern int ZEXPORT unzRepair(file, fileOut, fileOutTmp, nRecovered, bytesRecovered) | 30 | extern int ZEXPORT unzRepair(const char* file, const char* fileOut, const char* fileOutTmp, uLong* nRecovered, uLong* bytesRecovered) { |
31 | const char* file; | ||
32 | const char* fileOut; | ||
33 | const char* fileOutTmp; | ||
34 | uLong* nRecovered; | ||
35 | uLong* bytesRecovered; | ||
36 | { | ||
37 | int err = Z_OK; | 31 | int err = Z_OK; |
38 | FILE* fpZip = fopen(file, "rb"); | 32 | FILE* fpZip = fopen(file, "rb"); |
39 | FILE* fpOut = fopen(fileOut, "wb"); | 33 | FILE* fpOut = fopen(fileOut, "wb"); |