summaryrefslogtreecommitdiffstats
path: root/cpukit/zlib/adler32.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/adler32.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/adler32.c')
-rw-r--r--cpukit/zlib/adler32.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/zlib/adler32.c b/cpukit/zlib/adler32.c
index 007ba26277..74160ee2eb 100644
--- a/cpukit/zlib/adler32.c
+++ b/cpukit/zlib/adler32.c
@@ -54,10 +54,10 @@
#endif
/* ========================================================================= */
-uLong ZEXPORT adler32(adler, buf, len)
- uLong adler;
- const Bytef *buf;
- uInt len;
+uLong ZEXPORT adler32(
+ uLong adler,
+ const Bytef *buf,
+ uInt len)
{
unsigned long sum2;
unsigned n;
@@ -125,10 +125,10 @@ uLong ZEXPORT adler32(adler, buf, len)
}
/* ========================================================================= */
-uLong ZEXPORT adler32_combine(adler1, adler2, len2)
- uLong adler1;
- uLong adler2;
- z_off_t len2;
+uLong ZEXPORT adler32_combine(
+ uLong adler1,
+ uLong adler2,
+ z_off_t len2)
{
unsigned long sum1;
unsigned long sum2;