summaryrefslogtreecommitdiffstats
path: root/libpng/crc32.c
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-04-07 17:23:32 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-04-07 17:23:32 (GMT)
commit7cbe6514d4bb3f8c0e4b64a6c357df500c111798 (patch)
treec38e1a43019260d8c13223b0bab64424c575dfcb /libpng/crc32.c
parentd8da737acd32d4cdd8e956ee7bc8329ad73c8d58 (diff)
downloadDoxygen-7cbe6514d4bb3f8c0e4b64a6c357df500c111798.zip
Doxygen-7cbe6514d4bb3f8c0e4b64a6c357df500c111798.tar.gz
Doxygen-7cbe6514d4bb3f8c0e4b64a6c357df500c111798.tar.bz2
Release-1.2.15-20020407
Diffstat (limited to 'libpng/crc32.c')
-rw-r--r--libpng/crc32.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libpng/crc32.c b/libpng/crc32.c
index a91101a..50fa876 100644
--- a/libpng/crc32.c
+++ b/libpng/crc32.c
@@ -1,5 +1,5 @@
/* crc32.c -- compute the CRC-32 of a data stream
- * Copyright (C) 1995-1998 Mark Adler
+ * Copyright (C) 1995-2002 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -124,7 +124,7 @@ local const uLongf crc_table[256] = {
/* =========================================================================
* This function can be used by asm versions of crc32()
*/
-const uLongf * ZEXPORT get_crc_table()
+const uLongf * ZEXPORT get_crc_table(void)
{
#ifdef DYNAMIC_CRC_TABLE
if (crc_table_empty) make_crc_table();
@@ -139,10 +139,7 @@ const uLongf * ZEXPORT get_crc_table()
#define DO8(buf) DO4(buf); DO4(buf);
/* ========================================================================= */
-uLong ZEXPORT crc32(crc, buf, len)
- uLong crc;
- const Bytef *buf;
- uInt len;
+uLong ZEXPORT crc32(uLong crc, const Bytef *buf, uInt len)
{
if (buf == Z_NULL) return 0L;
#ifdef DYNAMIC_CRC_TABLE