summaryrefslogtreecommitdiff
path: root/lib/libc/string/strcoll.c
blob: 2a4a347383de4d326ec69f721b7922be6b73f340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <libc.h>   // for __unused
#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);
}