summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcoll.c
blob: 334f470c2a1238731c9b6498147939279c461a18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <string.h> // for strcmp, locale_t, strcoll, strcoll_l
#include <sys/cdefs.h>

int strcoll(const char *s1, const char *s2)
{
	return strcmp(s1, s2);
}

__weak int strcoll_l(const char *s1, const char *s2, locale_t __unused locale)
{
	return strcoll(s1, s2);
}