From fbf868b243b07b0e91e8da11086bc172d7c146da Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 Jan 2006 15:48:34 +0000 Subject: Provide __tolower and use it --- libc/string/strcasecmp.c | 2 +- libc/string/strncasecmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/string') diff --git a/libc/string/strcasecmp.c b/libc/string/strcasecmp.c index 054bc01ae..1d758e2ca 100644 --- a/libc/string/strcasecmp.c +++ b/libc/string/strcasecmp.c @@ -32,7 +32,7 @@ extern wint_t __towlower_l (wint_t __wc, __locale_t __locale) __THROW attribute_ # ifdef __UCLIBC_DO_XLOCALE # define TOLOWER(C) __tolower_l((C), locale_arg) # else -# define TOLOWER(C) tolower((C)) +# define TOLOWER(C) __tolower((C)) # endif #endif diff --git a/libc/string/strncasecmp.c b/libc/string/strncasecmp.c index 96f31cabd..bfc865a8c 100644 --- a/libc/string/strncasecmp.c +++ b/libc/string/strncasecmp.c @@ -32,7 +32,7 @@ extern wint_t __towlower_l (wint_t __wc, __locale_t __locale) __THROW attribute_ # ifdef __UCLIBC_DO_XLOCALE # define TOLOWER(C) __tolower_l((C), locale_arg) # else -# define TOLOWER(C) tolower((C)) +# define TOLOWER(C) __tolower((C)) # endif #endif -- cgit v1.2.3