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/inet_netof.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/inet_netof.c')
-rw-r--r-- | cpukit/libnetworking/libc/inet_netof.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/libc/inet_netof.c b/cpukit/libnetworking/libc/inet_netof.c index d7ed467fb5..e71f96f7f2 100644 --- a/cpukit/libnetworking/libc/inet_netof.c +++ b/cpukit/libnetworking/libc/inet_netof.c @@ -46,8 +46,8 @@ * address; handles class a/b/c network #'s. */ in_addr_t -inet_netof(in) - struct in_addr in; +inet_netof( + struct in_addr in) { register u_long i = ntohl(in.s_addr); |