aboutsummaryrefslogtreecommitdiff
path: root/compress.c
diff options
context:
space:
mode:
authorMark Adler <fork@madler.net>2022-10-01 17:04:06 -0700
committerMark Adler <fork@madler.net>2022-10-05 15:17:52 -0700
commit84c6716a48743edfb71053ba07755e0cf7ba638d (patch)
tree5e02319722d8682bd51f7de01f38b21bb13756c8 /compress.c
parent3e4aa45834c2e76c1f21f9c463c2f356f3bb512c (diff)
downloadzlib-84c6716a48743edfb71053ba07755e0cf7ba638d.tar.gz
zlib-84c6716a48743edfb71053ba07755e0cf7ba638d.tar.bz2
zlib-84c6716a48743edfb71053ba07755e0cf7ba638d.zip
Minor formatting improvements.
No code changes.
Diffstat (limited to 'compress.c')
-rw-r--r--compress.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compress.c b/compress.c
index e2db404..2ad5326 100644
--- a/compress.c
+++ b/compress.c
@@ -19,7 +19,7 @@
19 memory, Z_BUF_ERROR if there was not enough room in the output buffer, 19 memory, Z_BUF_ERROR if there was not enough room in the output buffer,
20 Z_STREAM_ERROR if the level parameter is invalid. 20 Z_STREAM_ERROR if the level parameter is invalid.
21*/ 21*/
22int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) 22int ZEXPORT compress2(dest, destLen, source, sourceLen, level)
23 Bytef *dest; 23 Bytef *dest;
24 uLongf *destLen; 24 uLongf *destLen;
25 const Bytef *source; 25 const Bytef *source;
@@ -65,7 +65,7 @@ int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
65 65
66/* =========================================================================== 66/* ===========================================================================
67 */ 67 */
68int ZEXPORT compress (dest, destLen, source, sourceLen) 68int ZEXPORT compress(dest, destLen, source, sourceLen)
69 Bytef *dest; 69 Bytef *dest;
70 uLongf *destLen; 70 uLongf *destLen;
71 const Bytef *source; 71 const Bytef *source;
@@ -78,7 +78,7 @@ int ZEXPORT compress (dest, destLen, source, sourceLen)
78 If the default memLevel or windowBits for deflateInit() is changed, then 78 If the default memLevel or windowBits for deflateInit() is changed, then
79 this function needs to be updated. 79 this function needs to be updated.
80 */ 80 */
81uLong ZEXPORT compressBound (sourceLen) 81uLong ZEXPORT compressBound(sourceLen)
82 uLong sourceLen; 82 uLong sourceLen;
83{ 83{
84 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) + 84 return sourceLen + (sourceLen >> 12) + (sourceLen >> 14) +