X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Flocale%2Fstrcoll.c;h=84f199ff9527d7728beea01cfbefbe06e61e02ad;hb=7e399fabd3db2c528b5982803eeba2841f547695;hp=30bccd621ca9b6f377eb2817879ae1ca5fd7b49c;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=oweals%2Fmusl.git diff --git a/src/locale/strcoll.c b/src/locale/strcoll.c index 30bccd62..84f199ff 100644 --- a/src/locale/strcoll.c +++ b/src/locale/strcoll.c @@ -1,6 +1,16 @@ #include +#include +#include "locale_impl.h" +#include "libc.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);