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

Side by Side Diff: fusl/src/locale/__lctrans.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 <locale.h> 1 #include <locale.h>
2 #include "locale_impl.h" 2 #include "locale_impl.h"
3 #include "libc.h" 3 #include "libc.h"
4 4
5 static const char *dummy(const char *msg, const struct __locale_map *lm) 5 static const char* dummy(const char* msg, const struct __locale_map* lm) {
6 { 6 return msg;
7 » return msg;
8 } 7 }
9 8
10 weak_alias(dummy, __lctrans_impl); 9 weak_alias(dummy, __lctrans_impl);
11 10
12 const char *__lctrans(const char *msg, const struct __locale_map *lm) 11 const char* __lctrans(const char* msg, const struct __locale_map* lm) {
13 { 12 return __lctrans_impl(msg, lm);
14 » return __lctrans_impl(msg, lm);
15 } 13 }
16 14
17 const char *__lctrans_cur(const char *msg) 15 const char* __lctrans_cur(const char* msg) {
18 { 16 return __lctrans_impl(msg, CURRENT_LOCALE->cat[LC_MESSAGES]);
19 » return __lctrans_impl(msg, CURRENT_LOCALE->cat[LC_MESSAGES]);
20 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698