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