OLD | NEW |
1 #include <string.h> | 1 #include <string.h> |
2 #include <locale.h> | 2 #include <locale.h> |
3 #include "locale_impl.h" | 3 #include "locale_impl.h" |
4 #include "libc.h" | 4 #include "libc.h" |
5 | 5 |
6 int __strcoll_l(const char *l, const char *r, locale_t loc) | 6 int __strcoll_l(const char* l, const char* r, locale_t loc) { |
7 { | 7 return strcmp(l, r); |
8 » return strcmp(l, r); | |
9 } | 8 } |
10 | 9 |
11 int strcoll(const char *l, const char *r) | 10 int strcoll(const char* l, const char* r) { |
12 { | 11 return __strcoll_l(l, r, CURRENT_LOCALE); |
13 » return __strcoll_l(l, r, CURRENT_LOCALE); | |
14 } | 12 } |
15 | 13 |
16 weak_alias(__strcoll_l, strcoll_l); | 14 weak_alias(__strcoll_l, strcoll_l); |
OLD | NEW |