fix non-static dummy function that slipped in with locale implementation
[musl] / src / locale / localeconv.c
1 #include <locale.h>
2
3 static const struct lconv posix_lconv = {
4         .decimal_point = ".",
5         .thousands_sep = "",
6         .grouping = "",
7         .int_curr_symbol = "",
8         .currency_symbol = "",
9         .mon_decimal_point = "",
10         .mon_thousands_sep = "",
11         .mon_grouping = "",
12         .positive_sign = "",
13         .negative_sign = "",
14         .int_frac_digits = -1,
15         .frac_digits = -1,
16         .p_cs_precedes = -1,
17         .p_sep_by_space = -1,
18         .n_cs_precedes = -1,
19         .n_sep_by_space = -1,
20         .p_sign_posn = -1,
21         .n_sign_posn = -1,
22         .int_p_cs_precedes = -1,
23         .int_p_sep_by_space = -1,
24         .int_n_cs_precedes = -1,
25         .int_n_sep_by_space = -1,
26         .int_p_sign_posn = -1,
27         .int_n_sign_posn = -1,
28 };
29
30 struct lconv *localeconv(void)
31 {
32         return (void *)&posix_lconv;
33 }