summaryrefslogtreecommitdiff
path: root/cpan/Compress-Raw-Zlib/zlib-src/compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/Compress-Raw-Zlib/zlib-src/compress.c')
-rw-r--r--cpan/Compress-Raw-Zlib/zlib-src/compress.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/cpan/Compress-Raw-Zlib/zlib-src/compress.c b/cpan/Compress-Raw-Zlib/zlib-src/compress.c
index 1cb602b92e..ea4dfbe9d7 100644
--- a/cpan/Compress-Raw-Zlib/zlib-src/compress.c
+++ b/cpan/Compress-Raw-Zlib/zlib-src/compress.c
@@ -19,12 +19,12 @@
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 (
- Bytef *dest,
- uLongf *destLen,
- const Bytef *source,
- uLong sourceLen,
- int level)
+int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
+ Bytef *dest;
+ uLongf *destLen;
+ const Bytef *source;
+ uLong sourceLen;
+ int level;
{
z_stream stream;
int err;
@@ -59,11 +59,11 @@ int ZEXPORT compress2 (
/* ===========================================================================
*/
-int ZEXPORT compress (
- Bytef *dest,
- uLongf *destLen,
- const Bytef *source,
- uLong sourceLen)
+int ZEXPORT compress (dest, destLen, source, sourceLen)
+ Bytef *dest;
+ uLongf *destLen;
+ const Bytef *source;
+ uLong sourceLen;
{
return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
}
@@ -72,8 +72,8 @@ int ZEXPORT compress (
If the default memLevel or windowBits for deflateInit() is changed, then
this function needs to be updated.
*/
-uLong ZEXPORT compressBound (
- uLong sourceLen)
+uLong ZEXPORT compressBound (sourceLen)
+ uLong sourceLen;
{
return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) +
(sourceLen >> 25) + 13;