diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-03 17:17:14 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-03 17:17:14 +0000 |
commit | 43123f2ccc714bbb4991b538dd70e411899f98e3 (patch) | |
tree | a6b583ea3efc976960012b79b44595afcb8837c1 /libc/string/strcasestr.c | |
parent | 16fbf62c2044e872785f871ab5d901e30e64932e (diff) |
Get rid of tolower/toupper jump reloc, correct tow* for XLOCALE
Diffstat (limited to 'libc/string/strcasestr.c')
-rw-r--r-- | libc/string/strcasestr.c | 4 |
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; |