summary refs log tree commit diff
path: root/resolv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-07-21 16:28:40 +0000
committerUlrich Drepper <drepper@redhat.com>2004-07-21 16:28:40 +0000
commit4cdc0a3d636921357ff1ccfe02f88b9d4e974b4f (patch)
tree1d1fec95aa2218ecc3b080f2d5181c93476ee7c5 /resolv
parent0767a652c22bbe7a93082c21e0f26abbf34dca2a (diff)
downloadglibc-4cdc0a3d636921357ff1ccfe02f88b9d4e974b4f.tar.gz
glibc-4cdc0a3d636921357ff1ccfe02f88b9d4e974b4f.tar.xz
glibc-4cdc0a3d636921357ff1ccfe02f88b9d4e974b4f.zip
Change inet_aton type from in_addr_t to int.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/inet_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c
index b52e4043d5..144b87a74c 100644
--- a/resolv/inet_addr.c
+++ b/resolv/inet_addr.c
@@ -105,7 +105,7 @@ inet_addr(const char *cp) {
  * This replaces inet_addr, the return value from which
  * cannot distinguish between failure and a local broadcast address.
  */
-in_addr_t
+int
 __inet_aton(const char *cp, struct in_addr *addr)
 {
 	static const in_addr_t max[4] = { 0xffffffff, 0xffffff, 0xffff, 0xff };