]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Change types of inet_neta and inet_addr.
authorUlrich Drepper <drepper@redhat.com>
Fri, 12 Dec 1997 02:30:05 +0000 (02:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 12 Dec 1997 02:30:05 +0000 (02:30 +0000)
inet/arpa/inet.h

index 0593c8fad668ef519b9f80fa6f6645ba9b2794b5..174a837e6d59af8e85d0c6d5c741bf4475cc6034 100644 (file)
@@ -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));