diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-07-21 16:28:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-07-21 16:28:40 +0000 |
commit | 4cdc0a3d636921357ff1ccfe02f88b9d4e974b4f (patch) | |
tree | 1d1fec95aa2218ecc3b080f2d5181c93476ee7c5 /inet | |
parent | 0767a652c22bbe7a93082c21e0f26abbf34dca2a (diff) |
Change inet_aton type from in_addr_t to int.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/arpa/inet.h | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |