diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-07-29 10:52:50 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-12 22:50:10 +0300 |
commit | 14ad5884f0b0d31c727324d2f775cd4c4a820475 (patch) | |
tree | e3d901533d0e33037fac4e8070bf00b13ae826e2 | |
parent | f440f615bd78ddee629d485c9b5d1f4a2f18e8fa (diff) |
setlocale/localeconv are *not* POSIX-1.2008topic/locales
-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_ */ |