OLD | NEW |
1 #include "locale_impl.h" | 1 #include "locale_impl.h" |
2 #include <stdint.h> | 2 #include <stdint.h> |
3 | 3 |
4 static const uint32_t empty_mo[] = { 0x950412de, 0, -1, -1, -1 }; | 4 static const uint32_t empty_mo[] = {0x950412de, 0, -1, -1, -1}; |
5 | 5 |
6 const struct __locale_map __c_dot_utf8 = { | 6 const struct __locale_map __c_dot_utf8 = {.map = empty_mo, |
7 » .map = empty_mo, | 7 .map_size = sizeof empty_mo, |
8 » .map_size = sizeof empty_mo, | 8 .name = "C.UTF-8"}; |
9 » .name = "C.UTF-8" | |
10 }; | |
11 | 9 |
12 const struct __locale_struct __c_locale = { 0 }; | 10 const struct __locale_struct __c_locale = {0}; |
13 const struct __locale_struct __c_dot_utf8_locale = { | 11 const struct __locale_struct __c_dot_utf8_locale = {.cat[LC_CTYPE] = |
14 » .cat[LC_CTYPE] = &__c_dot_utf8 | 12 &__c_dot_utf8}; |
15 }; | |
OLD | NEW |