diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2012-05-28 23:32:12 -0700 |
---|---|---|
committer | Maxim Kuvyrkov <maxim@codesourcery.com> | 2012-08-21 18:07:47 -0700 |
commit | 99677e575504ec526546501b1fdb86221493768a (patch) | |
tree | c47132f702760e9ac7d3fb140828c58e0d889fa1 /string/strcasestr.c | |
parent | 400726deef57d8da8d6c7cd5c8e7891eaabab041 (diff) | |
download | glibc-99677e575504ec526546501b1fdb86221493768a.tar.gz glibc-99677e575504ec526546501b1fdb86221493768a.tar.xz glibc-99677e575504ec526546501b1fdb86221493768a.zip |
Use pointers for traversing arrays in strstr, strcasestr and memmem.
Diffstat (limited to 'string/strcasestr.c')
-rw-r--r-- | string/strcasestr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strcasestr.c b/string/strcasestr.c index 184ca68deb..b6458aef52 100644 --- a/string/strcasestr.c +++ b/string/strcasestr.c @@ -36,7 +36,7 @@ #include <stdbool.h> #include <strings.h> -#define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch)) +#define TOLOWER(Ch) tolower (Ch) /* Two-Way algorithm. */ #define RETURN_TYPE char * |