aboutsummaryrefslogtreecommitdiff
path: root/src/locale/strcoll.c
blob: 7c6eb2429981850c49766a8ae320a57b8a695314 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#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);


#ifdef TEST
int
main(void) {
	return 0;
}
#endif