diff options
Diffstat (limited to 'libpng/adler32.c')
-rw-r--r-- | libpng/adler32.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libpng/adler32.c b/libpng/adler32.c index 16cf9a7..8990fd6 100644 --- a/libpng/adler32.c +++ b/libpng/adler32.c @@ -1,5 +1,5 @@ /* adler32.c -- compute the Adler-32 checksum 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 */ @@ -18,10 +18,7 @@ #define DO16(buf) DO8(buf,0); DO8(buf,8); /* ========================================================================= */ -uLong ZEXPORT adler32(adler, buf, len) - uLong adler; - const Bytef *buf; - uInt len; +uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) { unsigned long s1 = adler & 0xffff; unsigned long s2 = (adler >> 16) & 0xffff; |