summaryrefslogtreecommitdiffstats
path: root/cpukit/zlib/inftrees.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-09-02 05:33:58 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-09-02 05:33:58 +0000
commitd29a42b35943690789e89e16cb17fd03b07f93c8 (patch)
tree461d3c72a71bcedcbd25d6daf790a110cb111196 /cpukit/zlib/inftrees.c
parent2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-d29a42b35943690789e89e16cb17fd03b07f93c8.tar.bz2
Stop using old-style function definitions.
Diffstat (limited to 'cpukit/zlib/inftrees.c')
-rw-r--r--cpukit/zlib/inftrees.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/zlib/inftrees.c b/cpukit/zlib/inftrees.c
index 8a9c13ff03..86f011a751 100644
--- a/cpukit/zlib/inftrees.c
+++ b/cpukit/zlib/inftrees.c
@@ -29,13 +29,13 @@ const char inflate_copyright[] =
table index bits. It will differ if the request is greater than the
longest code or if it is less than the shortest code.
*/
-int inflate_table(type, lens, codes, table, bits, work)
-codetype type;
-unsigned short FAR *lens;
-unsigned codes;
-code FAR * FAR *table;
-unsigned FAR *bits;
-unsigned short FAR *work;
+int inflate_table(
+ codetype type,
+ unsigned short FAR *lens,
+ unsigned codes,
+ code FAR * FAR *table,
+ unsigned FAR *bits,
+ unsigned short FAR *work)
{
unsigned len; /* a code's length in bits */
unsigned sym; /* index of code symbols */