aboutsummaryrefslogtreecommitdiff
path: root/string/strcasestr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-07-23 22:27:53 -0700
committerUlrich Drepper <drepper@redhat.com>2010-07-23 22:27:53 -0700
commitdbc676d4ffb074e20c6334296fc644718b485f55 (patch)
treefaa50d828662d96294423c53b2c91954627b96e6 /string/strcasestr.c
parentb8934257ec6dd87b5aea9c0b3a595d22a4398189 (diff)
downloadglibc-dbc676d4ffb074e20c6334296fc644718b485f55.zip
glibc-dbc676d4ffb074e20c6334296fc644718b485f55.tar.gz
glibc-dbc676d4ffb074e20c6334296fc644718b485f55.tar.bz2
Add performance tests for strstr and strcasestr.
Diffstat (limited to 'string/strcasestr.c')
-rw-r--r--string/strcasestr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/string/strcasestr.c b/string/strcasestr.c
index 088b5d9..f0b2fa5 100644
--- a/string/strcasestr.c
+++ b/string/strcasestr.c
@@ -1,5 +1,5 @@
/* Return the offset of one string within another.
- Copyright (C) 1994, 1996-2000, 2004, 2008, 2009
+ Copyright (C) 1994, 1996-2000, 2004, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -103,4 +103,6 @@ STRCASESTR (const char *haystack_start, const char *needle_start)
#undef LONG_NEEDLE_THRESHOLD
+#ifndef NO_ALIAS
weak_alias (__strcasestr, strcasestr)
+#endif