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/getservbyport.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/getservbyport.c')
-rw-r--r-- | cpukit/libnetworking/libc/getservbyport.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/libc/getservbyport.c b/cpukit/libnetworking/libc/getservbyport.c index 884d600590..cd76c2de4d 100644 --- a/cpukit/libnetworking/libc/getservbyport.c +++ b/cpukit/libnetworking/libc/getservbyport.c @@ -61,9 +61,9 @@ int getservbyport_r( } struct servent * -getservbyport(port, proto) - int port; - const char *proto; +getservbyport( + int port, + const char *proto) { register struct servent *p; |