summaryrefslogtreecommitdiff
path: root/libc/inet/ntop.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-03 17:17:14 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-03 17:17:14 +0000
commit43123f2ccc714bbb4991b538dd70e411899f98e3 (patch)
treea6b583ea3efc976960012b79b44595afcb8837c1 /libc/inet/ntop.c
parent16fbf62c2044e872785f871ab5d901e30e64932e (diff)
Get rid of tolower/toupper jump reloc, correct tow* for XLOCALE
Diffstat (limited to 'libc/inet/ntop.c')
-rw-r--r--libc/inet/ntop.c4
1 files changed, 2 insertions, 2 deletions
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);