aboutsummaryrefslogtreecommitdiff
path: root/locale/C-monetary.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2013-11-11 18:12:03 +0100
committerAndreas Schwab <schwab@suse.de>2013-11-19 11:53:00 +0100
commitb5449b12962da665c29f0a1c85f705de4bc4abf2 (patch)
tree8df3aee75fac59ef5696cb62a1e87b8d93fe8db2 /locale/C-monetary.c
parente186536b6fa8ceb004dfa1ba45766edcc871a95b (diff)
downloadglibc-b5449b12962da665c29f0a1c85f705de4bc4abf2.zip
glibc-b5449b12962da665c29f0a1c85f705de4bc4abf2.tar.gz
glibc-b5449b12962da665c29f0a1c85f705de4bc4abf2.tar.bz2
Complete display of LC_MONETARY
Diffstat (limited to 'locale/C-monetary.c')
-rw-r--r--locale/C-monetary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/C-monetary.c b/locale/C-monetary.c
index 3246ff5..9c36c76 100644
--- a/locale/C-monetary.c
+++ b/locale/C-monetary.c
@@ -22,6 +22,7 @@
``LC_MONETARY Category Definition in the POSIX Locale'',
with additions from ISO 14652, section 4.4. */
static const char not_available[] = "\377";
+static const uint32_t conversion_rate[] = { 1, 1 };
const struct __locale_data _nl_C_LC_MONETARY attribute_hidden =
{
@@ -74,7 +75,7 @@ const struct __locale_data _nl_C_LC_MONETARY attribute_hidden =
{ .word = 99991231 },
{ .word = 10101 },
{ .word = 99991231 },
- { .word = 1 },
+ { .string = (const char *) conversion_rate },
{ .word = (unsigned int) L'\0' },
{ .word = (unsigned int) L'\0' },
{ .string = _nl_C_codeset }