From d62991517862a3e234848beeade19176423bde80 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 1 Jul 1998 09:15:10 +0000 Subject: (inet_aton): Define variable base only if needed. --- resolv/inet_addr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c index 68659e9..0d3ba06 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; -- cgit v1.1