aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-07-29 09:52:50 +0200
committerCorinna Vinschen <corinna@vinschen.de>2016-08-12 21:50:10 +0200
commit14ad5884f0b0d31c727324d2f775cd4c4a820475 (patch)
treee3d901533d0e33037fac4e8070bf00b13ae826e2
parentf440f615bd78ddee629d485c9b5d1f4a2f18e8fa (diff)
downloadnewlib-topic/locales.zip
newlib-topic/locales.tar.gz
newlib-topic/locales.tar.bz2
setlocale/localeconv are *not* POSIX-1.2008github/topic/localestopic/locales
-rw-r--r--newlib/libc/include/locale.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h
index f74e9c5..6b3b788 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_ */