From 789db36adee475a7b5500beca72fea274360a2bd Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 20 Oct 2005 19:26:53 +0000 Subject: Change in_addr_t inet_aton to int, glibc has it as int and uClibc uses it in addr.c also as int. Rename mylock/LOCK/UNLOCK in resolv.c to allow IMA compiling --- include/arpa/inet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/arpa') diff --git a/include/arpa/inet.h b/include/arpa/inet.h index 30af9757d..fe3373b88 100644 --- a/include/arpa/inet.h +++ b/include/arpa/inet.h @@ -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 v1.2.3