summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 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_ */