summaryrefslogtreecommitdiff
path: root/libc/string
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/string
parent16fbf62c2044e872785f871ab5d901e30e64932e (diff)
Get rid of tolower/toupper jump reloc, correct tow* for XLOCALE
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/strcasestr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strcasestr.c b/libc/string/strcasestr.c
index 320430ce6..5222eda71 100644
--- a/libc/string/strcasestr.c
+++ b/libc/string/strcasestr.c
@@ -19,7 +19,7 @@ char attribute_hidden *__strcasestr(const char *s1, const char *s2)
return (char *) s1;;
}
if ((*p == *s)
- || (tolower(*((unsigned char *)p)) == tolower(*((unsigned char *)s)))
+ || (__tolower(*((unsigned char *)p)) == __tolower(*((unsigned char *)s)))
) {
++p;
++s;
@@ -34,7 +34,7 @@ char attribute_hidden *__strcasestr(const char *s1, const char *s2)
#else
while (*p && *s) {
if ((*p == *s)
- || (tolower(*((unsigned char *)p)) == tolower(*((unsigned char *)s)))
+ || (__tolower(*((unsigned char *)p)) == __tolower(*((unsigned char *)s)))
) {
++p;
++s;