diff options
Diffstat (limited to 'usr/src/lib/libnsl/rpc/inet_ntoa.c')
| -rw-r--r-- | usr/src/lib/libnsl/rpc/inet_ntoa.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/lib/libnsl/rpc/inet_ntoa.c b/usr/src/lib/libnsl/rpc/inet_ntoa.c index 1c8c133f20..f68ed15e39 100644 --- a/usr/src/lib/libnsl/rpc/inet_ntoa.c +++ b/usr/src/lib/libnsl/rpc/inet_ntoa.c @@ -20,7 +20,7 @@ */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -111,8 +111,6 @@ * Reentrant interface */ -#pragma weak inet_aton = _inet_aton - #include "mt.h" #include "rpc_mt.h" #include <errno.h> @@ -193,7 +191,7 @@ inet_aton(const char *cp, struct in_addr *addr) c = *++cp; } else if (base == 16 && isascii(c) && isxdigit(c)) { val = (val << 4) | - (c + 10 - (islower(c) ? 'a' : 'A')); + (c + 10 - (islower(c) ? 'a' : 'A')); c = *++cp; } else break; |
