summaryrefslogtreecommitdiffstats
path: root/libpng/compress.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/compress.c
parentd8da737acd32d4cdd8e956ee7bc8329ad73c8d58 (diff)
downloadDoxygen-7cbe6514d4bb3f8c0e4b64a6c357df500c111798.zip
Doxygen-7cbe6514d4bb3f8c0e4b64a6c357df500c111798.tar.gz
Doxygen-7cbe6514d4bb3f8c0e4b64a6c357df500c111798.tar.bz2
Release-1.2.15-20020407
Diffstat (limited to 'libpng/compress.c')
-rw-r--r--libpng/compress.c15
1 files changed, 3 insertions, 12 deletions
diff --git a/libpng/compress.c b/libpng/compress.c
index 1cee470..fcd0fa8 100644
--- a/libpng/compress.c
+++ b/libpng/compress.c
@@ -1,5 +1,5 @@
/* compress.c -- compress a memory buffer
- * Copyright (C) 1995-1998 Jean-loup Gailly.
+ * Copyright (C) 1995-2002 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -18,12 +18,7 @@
memory, Z_BUF_ERROR if there was not enough room in the output buffer,
Z_STREAM_ERROR if the level parameter is invalid.
*/
-int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
- Bytef *dest;
- uLongf *destLen;
- const Bytef *source;
- uLong sourceLen;
- int level;
+int ZEXPORT compress2 (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen, int level)
{
z_stream stream;
int err;
@@ -58,11 +53,7 @@ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
/* ===========================================================================
*/
-int ZEXPORT compress (dest, destLen, source, sourceLen)
- Bytef *dest;
- uLongf *destLen;
- const Bytef *source;
- uLong sourceLen;
+int ZEXPORT compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen)
{
return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
}