summaryrefslogtreecommitdiff
path: root/inffast.c
diff options
context:
space:
mode:
authorhansr <hk-git@circlestorm.org>2014-10-18 22:49:16 +0200
committerhansr <hk-git@circlestorm.org>2014-10-18 22:49:16 +0200
commit84002037ee33b2fcf8bd3c69b3a7e3630a04f914 (patch)
tree88ffbcc6ee04d7fca18103dcac8fd3898e2083fe /inffast.c
parent8999d0a963bd0e5080b6ed56bd073d2f5544e982 (diff)
Rewrite K&R-style function prototypes to ANSI-C-style.
Only internal functions, no exported functions in this commit.
Diffstat (limited to 'inffast.c')
-rw-r--r--inffast.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/inffast.c b/inffast.c
index 6b82c83..9747028 100644
--- a/inffast.c
+++ b/inffast.c
@@ -75,10 +75,9 @@
requires strm->avail_out >= 258 for each loop to avoid checking for
output space.
*/
-void ZLIB_INTERNAL inflate_fast(strm, start)
-z_streamp strm;
-unsigned start; /* inflate()'s starting value for strm->avail_out */
+void ZLIB_INTERNAL inflate_fast(z_streamp strm, unsigned start)
{
+ /* start: inflate()'s starting value for strm->avail_out */
struct inflate_state *state;
z_const unsigned char *in; /* local strm->next_in */
z_const unsigned char *last; /* have enough input while in < last */