diff options
Diffstat (limited to 'src/locale/strcoll.c')
-rw-r--r-- | src/locale/strcoll.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/locale/strcoll.c b/src/locale/strcoll.c index 30bccd62..8b84b1e6 100644 --- a/src/locale/strcoll.c +++ b/src/locale/strcoll.c @@ -1,6 +1,15 @@ #include <string.h> +#include <locale.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, LC_GLOBAL_LOCALE); +} + +weak_alias(__strcoll_l, strcoll_l); |