Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2009-02-10 17:29:46 +0300
committerJeffrey Stedfast <fejj@novell.com>2009-02-10 17:29:46 +0300
commit678b765c8b6f26bab0671c223c012d9afa728231 (patch)
tree0d1ea4b0888a86d4bfb10e531d2d264126ad8deb /support/minizip/crypt.h
parent21f14f83f45bd28c76491153b4d0e18d5eae381e (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/crypt.h')
-rw-r--r--support/minizip/crypt.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/support/minizip/crypt.h b/support/minizip/crypt.h
index 622f4bc2ec4..c73e9d695aa 100644
--- a/support/minizip/crypt.h
+++ b/support/minizip/crypt.h
@@ -87,13 +87,7 @@ static void init_keys(const char* passwd,unsigned long* pkeys,const unsigned lon
# define ZCR_SEED2 3141592654UL /* use PI as default pattern */
# endif
-static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting)
- const char *passwd; /* password string */
- unsigned char *buf; /* where to write header */
- int bufSize;
- unsigned long* pkeys;
- const unsigned long* pcrc_32_tab;
- unsigned long crcForCrypting;
+static int crypthead(const char *passwd, unsigned char *buf, int bufSize, unsigned long *pkeys, const unsigned long *pcrc_32_tab, unsigned long crcForCrypting)
{
int n; /* index in random header */
int t; /* temporary */