about summary refs log tree commit diff
path: root/locale/localeconv.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-21 20:19:54 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-21 20:19:54 +0000
commit3b43494000bba0633fccbb481c77825927ebb8fb (patch)
treea49c146c4cebb1b2e502deb0997371aafc668db7 /locale/localeconv.c
parent0efb48a1dfd132138a44c238b6e7f67a185a360e (diff)
downloadglibc-3b43494000bba0633fccbb481c77825927ebb8fb.tar.gz
glibc-3b43494000bba0633fccbb481c77825927ebb8fb.tar.xz
glibc-3b43494000bba0633fccbb481c77825927ebb8fb.zip
Update.
	* locale/locale.h (struct lconv): Add new elements from ISO C99.
	* locale/localeconv.c: Initialize new elements from ISO C99.

	* iconv/iconv_prog.c (process_block): Remove const from second
	parameter.
	(main): Remove const from addr definition.
Diffstat (limited to 'locale/localeconv.c')
-rw-r--r--locale/localeconv.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/locale/localeconv.c b/locale/localeconv.c
index 14c6102568..79a88ac83b 100644
--- a/locale/localeconv.c
+++ b/locale/localeconv.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 95, 97, 99, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -47,6 +47,12 @@ localeconv (void)
   result.n_sep_by_space = *(char *) _NL_CURRENT (LC_MONETARY, N_SEP_BY_SPACE);
   result.p_sign_posn = *(char *) _NL_CURRENT (LC_MONETARY, P_SIGN_POSN);
   result.n_sign_posn = *(char *) _NL_CURRENT (LC_MONETARY, N_SIGN_POSN);
+  result.p_cs_precedes = *(char *) _NL_CURRENT (LC_MONETARY, INT_P_CS_PRECEDES);
+  result.p_sep_by_space = *(char *) _NL_CURRENT (LC_MONETARY, INT_P_SEP_BY_SPACE);
+  result.n_cs_precedes = *(char *) _NL_CURRENT (LC_MONETARY, INT_N_CS_PRECEDES);
+  result.n_sep_by_space = *(char *) _NL_CURRENT (LC_MONETARY, INT_N_SEP_BY_SPACE);
+  result.p_sign_posn = *(char *) _NL_CURRENT (LC_MONETARY, INT_P_SIGN_POSN);
+  result.n_sign_posn = *(char *) _NL_CURRENT (LC_MONETARY, INT_N_SIGN_POSN);
 
   return &result;
 }