diff options
author | Ulrich Drepper <drepper@redhat.com> | 1997-12-12 02:30:05 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1997-12-12 02:30:05 +0000 |
commit | 3af3bc37bfda39adcab8d814827f321daef91b13 (patch) | |
tree | e32e65d5b24807d3d61fa3e27c76f284f7d3efec | |
parent | 72a5ba9b39ff350edf63800022e0550c74944ea6 (diff) |
Change types of inet_neta and inet_addr.
-rw-r--r-- | inet/arpa/inet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h index 0593c8fad6..174a837e6d 100644 --- a/inet/arpa/inet.h +++ b/inet/arpa/inet.h @@ -28,7 +28,7 @@ __BEGIN_DECLS /* Convert Internet host address from numbers-and-dots notation in CP into binary data in network byte order. */ -extern unsigned long int inet_addr __P ((__const char *__cp)); +extern u_int32_t inet_addr __P ((__const char *__cp)); /* Convert Internet host address from numbers-and-dots notation in CP into binary data and store the result in the structure INP. */ @@ -43,7 +43,7 @@ extern struct in_addr inet_makeaddr __P ((u_int32_t __net, u_int32_t __host)); /* Format a network number NET into presentation format and place result in buffer starting at BUF with length of LEN bytes. */ -extern char *inet_neta __P ((u_long __net, char *__buf, size_t __len)); +extern char *inet_neta __P ((u_int32_t __net, char *__buf, size_t __len)); /* Return network number part of the Internet address IN. */ extern u_int32_t inet_netof __P ((struct in_addr __in)); |