From dbc676d4ffb074e20c6334296fc644718b485f55 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 23 Jul 2010 22:27:53 -0700 Subject: Add performance tests for strstr and strcasestr. --- string/strcasestr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'string/strcasestr.c') diff --git a/string/strcasestr.c b/string/strcasestr.c index 088b5d91c7..f0b2fa55bd 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 -- cgit 1.4.1