summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-09 12:45:45 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-09 12:45:45 +0000
commit00a578ad6bbc15e42afde811d4d6f4051a63303c (patch)
treed41e6ec7999d2448fa9d6f0bc612a2064271c126 /cpukit/libnetworking
parent2005-05-09 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-00a578ad6bbc15e42afde811d4d6f4051a63303c.tar.bz2
in_addr_t.
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/libc/inet_addr.c4
-rw-r--r--cpukit/libnetworking/libc/inet_lnaof.c2
-rw-r--r--cpukit/libnetworking/libc/inet_makeaddr.c2
-rw-r--r--cpukit/libnetworking/libc/inet_netof.c2
-rw-r--r--cpukit/libnetworking/libc/inet_network.c4
5 files changed, 7 insertions, 7 deletions
diff --git a/cpukit/libnetworking/libc/inet_addr.c b/cpukit/libnetworking/libc/inet_addr.c
index 2bea8a5242..3307991df5 100644
--- a/cpukit/libnetworking/libc/inet_addr.c
+++ b/cpukit/libnetworking/libc/inet_addr.c
@@ -67,7 +67,7 @@ static char rcsid[] = "$Id$";
* ASCII internet address interpretation routine.
* The value returned is in network order.
*/
-u_long
+in_addr_t
inet_addr(cp)
const char *cp;
{
@@ -90,7 +90,7 @@ inet_aton(cp, addr)
const char *cp;
struct in_addr *addr;
{
- register u_long val;
+ in_addr_t val;
register int base, n;
register char c;
u_int parts[4];
diff --git a/cpukit/libnetworking/libc/inet_lnaof.c b/cpukit/libnetworking/libc/inet_lnaof.c
index 6ec6a9aef1..ab429081ae 100644
--- a/cpukit/libnetworking/libc/inet_lnaof.c
+++ b/cpukit/libnetworking/libc/inet_lnaof.c
@@ -46,7 +46,7 @@ static char sccsid[] = "@(#)inet_lnaof.c 8.1 (Berkeley) 6/4/93";
* internet address; handles class a/b/c network
* number formats.
*/
-u_long
+in_addr_t
inet_lnaof(in)
struct in_addr in;
{
diff --git a/cpukit/libnetworking/libc/inet_makeaddr.c b/cpukit/libnetworking/libc/inet_makeaddr.c
index ce84170ed9..79fbeedb4d 100644
--- a/cpukit/libnetworking/libc/inet_makeaddr.c
+++ b/cpukit/libnetworking/libc/inet_makeaddr.c
@@ -47,7 +47,7 @@ static char sccsid[] = "@(#)inet_makeaddr.c 8.1 (Berkeley) 6/4/93";
*/
struct in_addr
inet_makeaddr(net, host)
- u_long net, host;
+ in_addr_t net, host;
{
u_long addr;
diff --git a/cpukit/libnetworking/libc/inet_netof.c b/cpukit/libnetworking/libc/inet_netof.c
index 179731efc3..820036e62b 100644
--- a/cpukit/libnetworking/libc/inet_netof.c
+++ b/cpukit/libnetworking/libc/inet_netof.c
@@ -45,7 +45,7 @@ static char sccsid[] = "@(#)inet_netof.c 8.1 (Berkeley) 6/4/93";
* Return the network number from an internet
* address; handles class a/b/c network #'s.
*/
-u_long
+in_addr_t
inet_netof(in)
struct in_addr in;
{
diff --git a/cpukit/libnetworking/libc/inet_network.c b/cpukit/libnetworking/libc/inet_network.c
index ac0073bf0a..386dbef6b2 100644
--- a/cpukit/libnetworking/libc/inet_network.c
+++ b/cpukit/libnetworking/libc/inet_network.c
@@ -47,9 +47,9 @@ static char sccsid[] = "@(#)inet_network.c 8.1 (Berkeley) 6/4/93";
* The library routines call this routine to interpret
* network numbers.
*/
-u_long
+in_addr_t
inet_network(cp)
- register const char *cp;
+ const char *cp;
{
register u_long val, base, n, i;
register char c;