diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-02 05:33:58 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-02 05:33:58 +0000 |
commit | d29a42b35943690789e89e16cb17fd03b07f93c8 (patch) | |
tree | 461d3c72a71bcedcbd25d6daf790a110cb111196 /cpukit/zlib/infback.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-d29a42b35943690789e89e16cb17fd03b07f93c8.tar.bz2 |
Stop using old-style function definitions.
Diffstat (limited to 'cpukit/zlib/infback.c')
-rw-r--r-- | cpukit/zlib/infback.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/cpukit/zlib/infback.c b/cpukit/zlib/infback.c index 455dbc9ee8..f740be95cc 100644 --- a/cpukit/zlib/infback.c +++ b/cpukit/zlib/infback.c @@ -25,12 +25,12 @@ local void fixedtables OF((struct inflate_state FAR *state)); windowBits is in the range 8..15, and window is a user-supplied window and output buffer that is 2**windowBits bytes. */ -int ZEXPORT inflateBackInit_(strm, windowBits, window, version, stream_size) -z_streamp strm; -int windowBits; -unsigned char FAR *window; -const char *version; -int stream_size; +int ZEXPORT inflateBackInit_( + z_streamp strm, + int windowBits, + unsigned char FAR *window, + const char *version, + int stream_size) { struct inflate_state FAR *state; @@ -70,8 +70,8 @@ int stream_size; used for threaded applications, since the rewriting of the tables and virgin may not be thread-safe. */ -local void fixedtables(state) -struct inflate_state FAR *state; +local void fixedtables( + struct inflate_state FAR *state) { #ifdef BUILDFIXED static int virgin = 1; @@ -238,12 +238,12 @@ struct inflate_state FAR *state; inflateBack() can also return Z_STREAM_ERROR if the input parameters are not correct, i.e. strm is Z_NULL or the state was not initialized. */ -int ZEXPORT inflateBack(strm, in, in_desc, out, out_desc) -z_streamp strm; -in_func in; -void FAR *in_desc; -out_func out; -void FAR *out_desc; +int ZEXPORT inflateBack( + z_streamp strm, + in_func in, + void FAR *in_desc, + out_func out, + void FAR *out_desc) { struct inflate_state FAR *state; unsigned char FAR *next; /* next input */ @@ -611,8 +611,8 @@ void FAR *out_desc; return ret; } -int ZEXPORT inflateBackEnd(strm) -z_streamp strm; +int ZEXPORT inflateBackEnd( + z_streamp strm) { if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) return Z_STREAM_ERROR; |