X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flocale%2Fwcscoll.c;h=ad2cc691632a17caae724fed5602898dd92b9131;hb=b4712ba445a5cb589d1ac37785c29164cd3cf1f9;hp=cdbce1c24cc45f0b6ca4bbc90235f4ae61856351;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/locale/wcscoll.c b/src/locale/wcscoll.c index cdbce1c2..ad2cc691 100644 --- a/src/locale/wcscoll.c +++ b/src/locale/wcscoll.c @@ -1,7 +1,16 @@ #include +#include +#include "locale_impl.h" /* FIXME: stub */ -int wcscoll(const wchar_t *l, const wchar_t *r) +int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale) { return wcscmp(l, r); } + +int wcscoll(const wchar_t *l, const wchar_t *r) +{ + return __wcscoll_l(l, r, CURRENT_LOCALE); +} + +weak_alias(__wcscoll_l, wcscoll_l);