diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-07-19 17:48:07 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-15 11:56:56 +0300 |
commit | 88208d3735821df0f5a66c5f8781282a7f5bf284 (patch) | |
tree | d93a285355c8af0bcd33f0b0c9290aa15714ee2a /newlib/libc/stdio | |
parent | a6a477fa8190b13d4ef0150875e2bd114cb5b132 (diff) |
POSIX-1.2008 per-thread locales, groundwork part 2
Move all locale category structure definitions into setlocale.h and remove
other headers in locale subdir. Create inline accessor functions for
current category struct pointers and use throughout. Use pointers to
"C" locale category structs by default in __global_locale.
Signed-off by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio')
-rw-r--r-- | newlib/libc/stdio/vfwprintf.c | 2 | ||||
-rw-r--r-- | newlib/libc/stdio/vfwscanf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/vfwprintf.c b/newlib/libc/stdio/vfwprintf.c index c3b8b27bb..f0179a014 100644 --- a/newlib/libc/stdio/vfwprintf.c +++ b/newlib/libc/stdio/vfwprintf.c @@ -132,7 +132,7 @@ SEEALSO #include "fvwrite.h" #include "vfieeefp.h" #ifdef __HAVE_LOCALE_INFO_EXTENDED__ -#include "../locale/lnumeric.h" +#include "../locale/setlocale.h" #endif /* Currently a test is made to see if long double processing is warranted. diff --git a/newlib/libc/stdio/vfwscanf.c b/newlib/libc/stdio/vfwscanf.c index 38a060d28..a46f8dcde 100644 --- a/newlib/libc/stdio/vfwscanf.c +++ b/newlib/libc/stdio/vfwscanf.c @@ -163,7 +163,7 @@ C99, POSIX-1.2008 #include <float.h> #include <locale.h> #ifdef __HAVE_LOCALE_INFO_EXTENDED__ -#include "../locale/lnumeric.h" +#include "../locale/setlocale.h" #endif /* Currently a test is made to see if long double processing is warranted. |