diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2009-02-10 17:29:46 +0300 |
---|---|---|
committer | Jeffrey Stedfast <fejj@novell.com> | 2009-02-10 17:29:46 +0300 |
commit | 678b765c8b6f26bab0671c223c012d9afa728231 (patch) | |
tree | 0d1ea4b0888a86d4bfb10e531d2d264126ad8deb /support/minizip/unzip.c | |
parent | 21f14f83f45bd28c76491153b4d0e18d5eae381e (diff) |
2009-02-10 Jeffrey Stedfast <fejj@novell.com>
* minizip/zip.c: Fix warnings about old-style paramater type
specifications.
* minizip/unzip.c Fix warnings about old-style paramater type
specifications.
svn path=/trunk/mono/; revision=126463
Diffstat (limited to 'support/minizip/unzip.c')
-rw-r--r-- | support/minizip/unzip.c | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/support/minizip/unzip.c b/support/minizip/unzip.c index 9192b3518b7..0b98a87cd5b 100644 --- a/support/minizip/unzip.c +++ b/support/minizip/unzip.c @@ -259,9 +259,7 @@ local int unzlocal_getLong (pzlib_filefunc_def,filestream,pX) /* My own strcmpi / strcasecmp */ -local int strcmpcasenosensitive_internal (fileName1,fileName2) - const char* fileName1; - const char* fileName2; +local int strcmpcasenosensitive_internal (const char *fileName1, const char *fileName2) { for (;;) { @@ -545,9 +543,7 @@ extern int ZEXPORT unzGetGlobalInfo (file,pglobal_info) /* Translate date/time from Dos format to tm_unz (readable more easilty) */ -local void unzlocal_DosDateToTmuDate (ulDosDate, ptm) - uLong ulDosDate; - tm_unz* ptm; +local void unzlocal_DosDateToTmuDate (uLong ulDosDate, tm_unz *ptm) { uLong uDate; uDate = (uLong)(ulDosDate>>16); @@ -959,13 +955,9 @@ extern int ZEXPORT unzGoToFilePos(file, file_pos) store in *piSizeVar the size of extra info in local header (filename and size of extra field data) */ -local int unzlocal_CheckCurrentFileCoherencyHeader (s,piSizeVar, - poffset_local_extrafield, - psize_local_extrafield) - unz_s* s; - uInt* piSizeVar; - uLong *poffset_local_extrafield; - uInt *psize_local_extrafield; +local int unzlocal_CheckCurrentFileCoherencyHeader (unz_s *s, uInt *piSizeVar, + uLong *poffset_local_extrafield, + uInt *psize_local_extrafield) { uLong uMagic,uData,uFlags; uLong size_filename; @@ -1540,7 +1532,6 @@ extern int ZEXPORT unzGetGlobalComment (file, szComment, uSizeBuf) char *szComment; uLong uSizeBuf; { - int err=UNZ_OK; unz_s* s; uLong uReadThis ; if (file==NULL) |