Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: fusl/src/locale/strcoll.c

Issue 1714623002: [fusl] clang-format fusl (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: headers too Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698