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/zutil.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/zutil.c')
-rw-r--r-- | cpukit/zlib/zutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/zlib/zutil.c b/cpukit/zlib/zutil.c index d55f5948a3..0790c68a41 100644 --- a/cpukit/zlib/zutil.c +++ b/cpukit/zlib/zutil.c @@ -24,12 +24,12 @@ const char * const z_errmsg[10] = { ""}; -const char * ZEXPORT zlibVersion() +const char * ZEXPORT zlibVersion(void) { return ZLIB_VERSION; } -uLong ZEXPORT zlibCompileFlags() +uLong ZEXPORT zlibCompileFlags(void) { uLong flags; @@ -130,8 +130,8 @@ void z_error (m) /* exported to allow conversion of error code to string for compress() and * uncompress() */ -const char * ZEXPORT zError(err) - int err; +const char * ZEXPORT zError( + int err) { return ERR_MSG(err); } |