projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove or make static various unused __-prefixed symbols
[musl]
/
src
/
locale
/
strcoll.c
diff --git
a/src/locale/strcoll.c
b/src/locale/strcoll.c
index
30bccd6
..
84f199f
100644
(file)
--- a/
src/locale/strcoll.c
+++ b/
src/locale/strcoll.c
@@
-1,6
+1,16
@@
#include <string.h>
#include <string.h>
+#include <locale.h>
+#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);
}
{
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);