diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-05 20:58:31 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-05 20:58:31 +0000 |
commit | a75078b4a8609418bb7e9376e492d6ef6c57f181 (patch) | |
tree | 5cecf311e7ce5bd5796a07272455d0c9c551ef8a /include/arpa/inet.h | |
parent | e195ff2ff259b10201edd5f16896a9cff48169fa (diff) |
Use in_addr_t not u_long.
Diffstat (limited to 'include/arpa/inet.h')
-rw-r--r-- | include/arpa/inet.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 34bb1f3942f..d649a96dbb9 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.h,v 1.3 1997/03/13 19:11:53 downsj Exp $ */ +/* $OpenBSD: inet.h,v 1.4 1997/04/05 20:58:30 millert Exp $ */ /* * ++Copyright++ 1983, 1993 @@ -74,13 +74,13 @@ #include <sys/cdefs.h> __BEGIN_DECLS -unsigned long inet_addr __P((const char *)); +in_addr_t inet_addr __P((const char *)); int inet_aton __P((const char *, struct in_addr *)); -unsigned long inet_lnaof __P((struct in_addr)); -struct in_addr inet_makeaddr __P((u_long , u_long)); -char * inet_neta __P((u_long, char *, size_t)); -unsigned long inet_netof __P((struct in_addr)); -unsigned long inet_network __P((const char *)); +in_addr_t inet_lnaof __P((struct in_addr)); +struct in_addr inet_makeaddr __P((in_addr_t , in_addr_t)); +char * inet_neta __P((in_addr_t, char *, size_t)); +in_addr_t inet_netof __P((struct in_addr)); +in_addr_t inet_network __P((const char *)); char *inet_net_ntop __P((int, const void *, int, char *, size_t)); int inet_net_pton __P((int, const char *, void *, size_t)); char *inet_ntoa __P((struct in_addr)); |