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

Side by Side Diff: fusl/src/locale/localeconv.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 <limits.h> 2 #include <limits.h>
3 3
4 static const struct lconv posix_lconv = { 4 static const struct lconv posix_lconv = {
5 » .decimal_point = ".", 5 .decimal_point = ".",
6 » .thousands_sep = "", 6 .thousands_sep = "",
7 » .grouping = "", 7 .grouping = "",
8 » .int_curr_symbol = "", 8 .int_curr_symbol = "",
9 » .currency_symbol = "", 9 .currency_symbol = "",
10 » .mon_decimal_point = "", 10 .mon_decimal_point = "",
11 » .mon_thousands_sep = "", 11 .mon_thousands_sep = "",
12 » .mon_grouping = "", 12 .mon_grouping = "",
13 » .positive_sign = "", 13 .positive_sign = "",
14 » .negative_sign = "", 14 .negative_sign = "",
15 » .int_frac_digits = CHAR_MAX, 15 .int_frac_digits = CHAR_MAX,
16 » .frac_digits = CHAR_MAX, 16 .frac_digits = CHAR_MAX,
17 » .p_cs_precedes = CHAR_MAX, 17 .p_cs_precedes = CHAR_MAX,
18 » .p_sep_by_space = CHAR_MAX, 18 .p_sep_by_space = CHAR_MAX,
19 » .n_cs_precedes = CHAR_MAX, 19 .n_cs_precedes = CHAR_MAX,
20 » .n_sep_by_space = CHAR_MAX, 20 .n_sep_by_space = CHAR_MAX,
21 » .p_sign_posn = CHAR_MAX, 21 .p_sign_posn = CHAR_MAX,
22 » .n_sign_posn = CHAR_MAX, 22 .n_sign_posn = CHAR_MAX,
23 » .int_p_cs_precedes = CHAR_MAX, 23 .int_p_cs_precedes = CHAR_MAX,
24 » .int_p_sep_by_space = CHAR_MAX, 24 .int_p_sep_by_space = CHAR_MAX,
25 » .int_n_cs_precedes = CHAR_MAX, 25 .int_n_cs_precedes = CHAR_MAX,
26 » .int_n_sep_by_space = CHAR_MAX, 26 .int_n_sep_by_space = CHAR_MAX,
27 » .int_p_sign_posn = CHAR_MAX, 27 .int_p_sign_posn = CHAR_MAX,
28 » .int_n_sign_posn = CHAR_MAX, 28 .int_n_sign_posn = CHAR_MAX,
29 }; 29 };
30 30
31 struct lconv *localeconv(void) 31 struct lconv* localeconv(void) {
32 { 32 return (void*)&posix_lconv;
33 » return (void *)&posix_lconv;
34 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698