move iconv_close to its own translation unit
[musl] / src / locale / wcscoll.c
1 #include <wchar.h>
2 #include <locale.h>
3 #include "locale_impl.h"
4 #include "libc.h"
5
6 /* FIXME: stub */
7 int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale)
8 {
9         return wcscmp(l, r);
10 }
11
12 int wcscoll(const wchar_t *l, const wchar_t *r)
13 {
14         return __wcscoll_l(l, r, CURRENT_LOCALE);
15 }
16
17 weak_alias(__wcscoll_l, wcscoll_l);