summaryrefslogtreecommitdiffstats
path: root/include/arpa/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arpa/inet.h')
-rw-r--r--include/arpa/inet.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/arpa/inet.h b/include/arpa/inet.h
index e28b739..fe60747 100644
--- a/include/arpa/inet.h
+++ b/include/arpa/inet.h
@@ -84,13 +84,13 @@ struct in_addr;
__BEGIN_DECLS
int ascii2addr __P((int, const char *, void *));
char *addr2ascii __P((int, const void *, int, char *));
-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));
OpenPOWER on IntegriCloud