summaryrefslogblamecommitdiff
path: root/src/locale/strcoll.c
blob: 39ea1123c620437d752ab003dd8bd9b9a1db5021 (plain) (tree)
1
2
3
4
5
6
7
8
                   

                   
 
                                                           


                            


                                         
                                    


                                   
#include <string.h>
#include <locale.h>
#include "libc.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, 0);
}

weak_alias(__strcoll_l, strcoll_l);