about summary refs log tree commit diff
path: root/string/strcasestr.c
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2012-05-28 23:32:12 -0700
committerMaxim Kuvyrkov <maxim@codesourcery.com>2012-08-21 18:07:47 -0700
commit99677e575504ec526546501b1fdb86221493768a (patch)
treec47132f702760e9ac7d3fb140828c58e0d889fa1 /string/strcasestr.c
parent400726deef57d8da8d6c7cd5c8e7891eaabab041 (diff)
downloadglibc-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.c2
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 *