From 4cdc0a3d636921357ff1ccfe02f88b9d4e974b4f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 21 Jul 2004 16:28:40 +0000 Subject: Change inet_aton type from in_addr_t to int. --- inet/arpa/inet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inet/arpa/inet.h') diff --git a/inet/arpa/inet.h b/inet/arpa/inet.h index 30af9757dc..5b1154e6f8 100644 --- a/inet/arpa/inet.h +++ b/inet/arpa/inet.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997, 1999, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1997, 1999, 2000, 2001, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -71,7 +71,7 @@ extern __const char *inet_ntop (int __af, __const void *__restrict __cp, #ifdef __USE_MISC /* Convert Internet host address from numbers-and-dots notation in CP into binary data and store the result in the structure INP. */ -extern in_addr_t inet_aton (__const char *__cp, struct in_addr *__inp) __THROW; +extern int inet_aton (__const char *__cp, struct in_addr *__inp) __THROW; /* Format a network number NET into presentation format and place result in buffer starting at BUF with length of LEN bytes. */ -- cgit 1.4.1