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

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

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « fusl/src/locale/locale_map.c ('k') | fusl/src/locale/newlocale.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #include <locale.h>
2 #include <limits.h>
3
4 static const struct lconv posix_lconv = {
5 .decimal_point = ".",
6 .thousands_sep = "",
7 .grouping = "",
8 .int_curr_symbol = "",
9 .currency_symbol = "",
10 .mon_decimal_point = "",
11 .mon_thousands_sep = "",
12 .mon_grouping = "",
13 .positive_sign = "",
14 .negative_sign = "",
15 .int_frac_digits = CHAR_MAX,
16 .frac_digits = CHAR_MAX,
17 .p_cs_precedes = CHAR_MAX,
18 .p_sep_by_space = CHAR_MAX,
19 .n_cs_precedes = CHAR_MAX,
20 .n_sep_by_space = CHAR_MAX,
21 .p_sign_posn = CHAR_MAX,
22 .n_sign_posn = CHAR_MAX,
23 .int_p_cs_precedes = CHAR_MAX,
24 .int_p_sep_by_space = CHAR_MAX,
25 .int_n_cs_precedes = CHAR_MAX,
26 .int_n_sep_by_space = CHAR_MAX,
27 .int_p_sign_posn = CHAR_MAX,
28 .int_n_sign_posn = CHAR_MAX,
29 };
30
31 struct lconv *localeconv(void)
32 {
33 return (void *)&posix_lconv;
34 }
OLDNEW
« no previous file with comments | « fusl/src/locale/locale_map.c ('k') | fusl/src/locale/newlocale.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698