mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Change inet_aton type from in_addr_t to int.
This commit is contained in:
@@ -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 };
|
||||
|
Reference in New Issue
Block a user