2 * Copyright (C) 2002 Manuel Novoa III
3 * Copyright (C) 2000-2005 Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
11 # define Wstrstr wcsstr
13 # define Wstrstr strstr
16 /* NOTE: This is the simple-minded O(len(s1) * len(s2)) worst-case approach. */
18 Wchar
*Wstrstr(const Wchar
*s1
, const Wchar
*s2
)
20 register const Wchar
*s
= s1
;
21 register const Wchar
*p
= s2
;
40 libc_hidden_def(strstr
)
41 #elif defined __UCLIBC_SUSV3_LEGACY__
42 strong_alias(wcsstr
,wcswcs
)