apply hidden visibility to various remaining internal interfaces
[oweals/musl.git] / src / locale / strcoll.c
index 39ea1123c620437d752ab003dd8bd9b9a1db5021..84f199ff9527d7728beea01cfbefbe06e61e02ad 100644 (file)
@@ -1,5 +1,6 @@
 #include <string.h>
 #include <locale.h>
+#include "locale_impl.h"
 #include "libc.h"
 
 int __strcoll_l(const char *l, const char *r, locale_t loc)
@@ -9,7 +10,7 @@ int __strcoll_l(const char *l, const char *r, locale_t loc)
 
 int strcoll(const char *l, const char *r)
 {
-       return __strcoll_l(l, r, 0);
+       return __strcoll_l(l, r, CURRENT_LOCALE);
 }
 
 weak_alias(__strcoll_l, strcoll_l);