summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/locale/strcoll.c
blob: dd3cbc480e34520fd62628d43ede7f11c0d92611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <string.h>
#include <locale.h>
#include "locale_impl.h"

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);