73 lines
2.7 KiB
Text
73 lines
2.7 KiB
Text
$NetBSD: patch-ad,v 1.1.1.1 2004/04/17 00:03:18 xtraeme Exp $
|
|
|
|
--- main/unzip.c.orig 2004-04-16 22:25:25.000000000 +0200
|
|
+++ main/unzip.c 2004-04-16 22:26:11.000000000 +0200
|
|
@@ -126,10 +126,10 @@
|
|
*/
|
|
|
|
|
|
-local int unzlocal_getByte OF((
|
|
+local int unzlocal_getByte (
|
|
const zlib_filefunc_def* pzlib_filefunc_def,
|
|
voidpf filestream,
|
|
- int *pi));
|
|
+ int *pi);
|
|
|
|
local int unzlocal_getByte(pzlib_filefunc_def,filestream,pi)
|
|
const zlib_filefunc_def* pzlib_filefunc_def;
|
|
@@ -156,10 +156,10 @@
|
|
/* ===========================================================================
|
|
Reads a long in LSB order from the given gz_stream. Sets
|
|
*/
|
|
-local int unzlocal_getShort OF((
|
|
+local int unzlocal_getShort (
|
|
const zlib_filefunc_def* pzlib_filefunc_def,
|
|
voidpf filestream,
|
|
- uLong *pX));
|
|
+ uLong *pX);
|
|
|
|
local int unzlocal_getShort (pzlib_filefunc_def,filestream,pX)
|
|
const zlib_filefunc_def* pzlib_filefunc_def;
|
|
@@ -184,10 +184,10 @@
|
|
return err;
|
|
}
|
|
|
|
-local int unzlocal_getLong OF((
|
|
+local int unzlocal_getLong (
|
|
const zlib_filefunc_def* pzlib_filefunc_def,
|
|
voidpf filestream,
|
|
- uLong *pX));
|
|
+ uLong *pX);
|
|
|
|
local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX)
|
|
const zlib_filefunc_def* pzlib_filefunc_def;
|
|
@@ -285,9 +285,9 @@
|
|
Locate the Central directory of a zipfile (at the end, just before
|
|
the global comment)
|
|
*/
|
|
-local uLong unzlocal_SearchCentralDir OF((
|
|
+local uLong unzlocal_SearchCentralDir (
|
|
const zlib_filefunc_def* pzlib_filefunc_def,
|
|
- voidpf filestream));
|
|
+ voidpf filestream);
|
|
|
|
local uLong unzlocal_SearchCentralDir(pzlib_filefunc_def,filestream)
|
|
const zlib_filefunc_def* pzlib_filefunc_def;
|
|
@@ -523,7 +523,7 @@
|
|
/*
|
|
Get Info about the current file in the zipfile, with internal only info
|
|
*/
|
|
-local int unzlocal_GetCurrentFileInfoInternal OF((unzFile file,
|
|
+local int unzlocal_GetCurrentFileInfoInternal (unzFile file,
|
|
unz_file_info *pfile_info,
|
|
unz_file_info_internal
|
|
*pfile_info_internal,
|
|
@@ -532,7 +532,7 @@
|
|
void *extraField,
|
|
uLong extraFieldBufferSize,
|
|
char *szComment,
|
|
- uLong commentBufferSize));
|
|
+ uLong commentBufferSize);
|
|
|
|
local int unzlocal_GetCurrentFileInfoInternal (file,
|
|
pfile_info,
|