diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-07-01 09:15:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-07-01 09:15:10 +0000 |
commit | d62991517862a3e234848beeade19176423bde80 (patch) | |
tree | 106a62cb0dbac29b401729803edbae98a9ef5175 | |
parent | 0301a08c93709cb9787404f01152d2af04e5c0df (diff) | |
download | glibc-d62991517862a3e234848beeade19176423bde80.tar glibc-d62991517862a3e234848beeade19176423bde80.tar.gz glibc-d62991517862a3e234848beeade19176423bde80.tar.bz2 glibc-d62991517862a3e234848beeade19176423bde80.zip |
(inet_aton): Define variable base only if needed.
-rw-r--r-- | resolv/inet_addr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c index 68659e9a04..0d3ba068d5 100644 --- a/resolv/inet_addr.c +++ b/resolv/inet_addr.c @@ -100,7 +100,10 @@ inet_aton(cp, addr) struct in_addr *addr; { 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; u_int32_t parts[4]; register u_int32_t *pp = parts; |