mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
(inet_aton): Define variable base only if needed.
This commit is contained in:
parent
0301a08c93
commit
d629915178
@ -100,7 +100,10 @@ inet_aton(cp, addr)
|
|||||||
struct in_addr *addr;
|
struct in_addr *addr;
|
||||||
{
|
{
|
||||||
register u_int32_t val; /* changed from u_long --david */
|
register u_int32_t val; /* changed from u_long --david */
|
||||||
register int base, n;
|
#ifndef _LIBC
|
||||||
|
register int base;
|
||||||
|
#endif
|
||||||
|
register int n;
|
||||||
register char c;
|
register char c;
|
||||||
u_int32_t parts[4];
|
u_int32_t parts[4];
|
||||||
register u_int32_t *pp = parts;
|
register u_int32_t *pp = parts;
|
||||||
|
Loading…
Reference in New Issue
Block a user