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 Wstrchr wcschr
13 # define Wstrchr strchr
16 libc_hidden_proto(Wstrchr)
18 Wchar *Wstrchr(register const Wchar *s, Wint c)
21 if (*s == ((Wchar)c)) {
22 return (Wchar *) s; /* silence the warning */
28 libc_hidden_def(Wstrchr)
31 strong_alias(strchr,index)