summary refs log tree commit diff
path: root/resolv/inet_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/inet_addr.c')
-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 };