X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flocale%2Fstrcoll.c;h=dd3cbc480e34520fd62628d43ede7f11c0d92611;hb=6a4a1691a0653bd51a30c2b8ac19448b7ebac796;hp=30bccd621ca9b6f377eb2817879ae1ca5fd7b49c;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/locale/strcoll.c b/src/locale/strcoll.c index 30bccd62..dd3cbc48 100644 --- a/src/locale/strcoll.c +++ b/src/locale/strcoll.c @@ -1,6 +1,15 @@ #include +#include +#include "locale_impl.h" -int strcoll(const char *l, const char *r) +int __strcoll_l(const char *l, const char *r, locale_t loc) { return strcmp(l, r); } + +int strcoll(const char *l, const char *r) +{ + return __strcoll_l(l, r, CURRENT_LOCALE); +} + +weak_alias(__strcoll_l, strcoll_l);