From 43123f2ccc714bbb4991b538dd70e411899f98e3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 Jan 2006 17:17:14 +0000 Subject: Get rid of tolower/toupper jump reloc, correct tow* for XLOCALE --- libc/inet/ntop.c | 4 ++-- libc/inet/rpc/rcmd.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/inet') diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c index 7bf242354..6f3a8ccec 100644 --- a/libc/inet/ntop.c +++ b/libc/inet/ntop.c @@ -249,7 +249,7 @@ inet_pton4(const char *src, u_char *dst) * So undef it here so we get the function version of tolower * instead. */ -#undef tolower +#undef __tolower static int inet_pton6(const char *src, u_char *dst) @@ -271,7 +271,7 @@ inet_pton6(const char *src, u_char *dst) curtok = src; saw_xdigit = 0; val = 0; - while ((ch = tolower (*src++)) != '\0') { + while ((ch = __tolower (*src++)) != '\0') { const char *pch; pch = __strchr(xdigits, ch); diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index b3f2a198c..c7a5be0db 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -673,7 +673,7 @@ __ivaliduser2(hostf, raddr, luser, ruser, rhost) } for (;*p && !isspace(*p); ++p) { - *p = tolower (*p); + *p = __tolower (*p); } /* Next we want to find the permitted name for the remote user. */ -- cgit v1.2.3