From 999820f6ab8aaf6a281dbb919341fcf2a2f3d119 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 16 Jun 2009 19:45:17 +0000 Subject: * libc/include/locale.h (struct lconv): Add missing members required by POSIX.1-2008. * libc/locale/locale.c (lconv): Initialize new members to default values in "C" locale. --- newlib/libc/include/locale.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'newlib/libc/include/locale.h') diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h index ebe1422fe..fa5c270fc 100644 --- a/newlib/libc/include/locale.h +++ b/newlib/libc/include/locale.h @@ -43,6 +43,12 @@ struct lconv char n_sep_by_space; char p_sign_posn; char n_sign_posn; + char int_n_cs_precedes; + char int_n_sep_by_space; + char int_n_sign_posn; + char int_p_cs_precedes; + char int_p_sep_by_space; + char int_p_sign_posn; }; #ifndef _REENT_ONLY -- cgit v1.2.3