diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 07:02:00 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-01 07:02:00 +0000 |
commit | 029c374c9c2617627b90b7585b6722113cd760a4 (patch) | |
tree | 64e4e41c2c61990e65e413e912b324a6eda3ea58 /cpukit/libnetworking/libc/gethostnamadr.c | |
parent | 2008-09-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-029c374c9c2617627b90b7585b6722113cd760a4.tar.bz2 |
Stop using old-style function definitions.
Diffstat (limited to 'cpukit/libnetworking/libc/gethostnamadr.c')
-rw-r--r-- | cpukit/libnetworking/libc/gethostnamadr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libnetworking/libc/gethostnamadr.c b/cpukit/libnetworking/libc/gethostnamadr.c index 7da9190cfd..d67890ada4 100644 --- a/cpukit/libnetworking/libc/gethostnamadr.c +++ b/cpukit/libnetworking/libc/gethostnamadr.c @@ -199,15 +199,14 @@ gethostbyaddr(const void *addr, socklen_t len, int type) } void -sethostent(stayopen) - int stayopen; +sethostent(int stayopen) { _sethosthtent(stayopen); _sethostdnsent(stayopen); } void -endhostent() +endhostent(void) { _endhosthtent(); _endhostdnsent(); |