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

Side by Side Diff: fusl/src/locale/wcscoll.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 <wchar.h> 1 #include <wchar.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 /* FIXME: stub */ 6 /* FIXME: stub */
7 int __wcscoll_l(const wchar_t *l, const wchar_t *r, locale_t locale) 7 int __wcscoll_l(const wchar_t* l, const wchar_t* r, locale_t locale) {
8 { 8 return wcscmp(l, r);
9 » return wcscmp(l, r);
10 } 9 }
11 10
12 int wcscoll(const wchar_t *l, const wchar_t *r) 11 int wcscoll(const wchar_t* l, const wchar_t* r) {
13 { 12 return __wcscoll_l(l, r, CURRENT_LOCALE);
14 » return __wcscoll_l(l, r, CURRENT_LOCALE);
15 } 13 }
16 14
17 weak_alias(__wcscoll_l, wcscoll_l); 15 weak_alias(__wcscoll_l, wcscoll_l);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698