when resolving symbols with only weak defs, use first def, not last def
[musl] / src / string / wcspbrk.c
1 #include <wchar.h>
2
3 wchar_t *wcspbrk(const wchar_t *s, const wchar_t *b)
4 {
5         s += wcscspn(s, b);
6         return *s ? (wchar_t *)s : NULL;
7 }