summary refs log tree commit diff
path: root/string/strcasestr.c
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2012-05-28 22:46:07 -0700
committerMaxim Kuvyrkov <maxim@codesourcery.com>2012-08-21 18:07:47 -0700
commitbcca089526c6859e775243731037a469aec3065c (patch)
tree646370482233fa52fcb5311b066f65fef2946d84 /string/strcasestr.c
parent99677e575504ec526546501b1fdb86221493768a (diff)
downloadglibc-bcca089526c6859e775243731037a469aec3065c.tar.gz
glibc-bcca089526c6859e775243731037a469aec3065c.tar.xz
glibc-bcca089526c6859e775243731037a469aec3065c.zip
Micro-optimize critical path of strstr, strcase and memmem.
Diffstat (limited to 'string/strcasestr.c')
-rw-r--r--string/strcasestr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/string/strcasestr.c b/string/strcasestr.c
index b6458aef52..9467b7a759 100644
--- a/string/strcasestr.c
+++ b/string/strcasestr.c
@@ -46,6 +46,7 @@
 #define AVAILABLE1(h, h_l, j, n_l) (true)
 #define AVAILABLE2(h, h_l, j, n_l) AVAILABLE (h, h_l, j, n_l)
 #define RET0_IF_0(a) if (!a) goto ret0
+#define AVAILABLE1_USES_J (0)
 #define CANON_ELEMENT(c) TOLOWER (c)
 #define CMP_FUNC(p1, p2, l)				\
   __strncasecmp ((const char *) (p1), (const char *) (p2), l)