diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-07-29 09:52:50 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-15 10:56:59 +0200 |
commit | 5bdf8cfa49d2ee9bb3c7c37ac59cc118371abb3b (patch) | |
tree | e3d901533d0e33037fac4e8070bf00b13ae826e2 | |
parent | 1a5d08014b88f2cdc8fa2b3434edfb582d08716a (diff) | |
download | cygnal-5bdf8cfa49d2ee9bb3c7c37ac59cc118371abb3b.tar.gz cygnal-5bdf8cfa49d2ee9bb3c7c37ac59cc118371abb3b.tar.bz2 cygnal-5bdf8cfa49d2ee9bb3c7c37ac59cc118371abb3b.zip |
setlocale/localeconv are *not* POSIX-1.2008
Signed-off by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | newlib/libc/include/locale.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h index f74e9c516..6b3b78830 100644 --- a/newlib/libc/include/locale.h +++ b/newlib/libc/include/locale.h @@ -72,26 +72,26 @@ char *_EXFUN(_setlocale_r,(struct _reent *, int, const char *)); struct lconv *_EXFUN(_localeconv_r,(struct _reent *)); #if __POSIX_VISIBLE >= 200809 - locale_t _newlocale_r (struct _reent *, int, const char *, locale_t); void _freelocale_r (struct _reent *, locale_t); locale_t _duplocale_r (struct _reent *, locale_t); locale_t _uselocale_r (struct _reent *, locale_t); +#endif /* __POSIX_VISIBLE >= 200809 */ #ifndef _REENT_ONLY char *_EXFUN(setlocale,(int, const char *)); struct lconv *_EXFUN(localeconv,(void)); +#if __POSIX_VISIBLE >= 200809 locale_t newlocale (int, const char *, locale_t); void freelocale (locale_t); locale_t duplocale (locale_t); locale_t uselocale (locale_t); +#endif /* __POSIX_VISIBLE >= 200809 */ #endif /* _REENT_ONLY */ -#endif /* __POSIX_VISIBLE >= 200809 */ - _END_STD_C #endif /* _LOCALE_H_ */ |