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/string/strcasestr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/string') 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; -- cgit v1.2.3