1
0
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:
Ulrich Drepper
2004-07-21 16:28:40 +00:00
parent 0767a652c2
commit 4cdc0a3d63
3 changed files with 4 additions and 4 deletions

View File

@@ -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 };