From 3eace743b2e9bc34a6ee3e51aa241a45c91159b2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 23 Aug 2016 12:39:42 +0200 Subject: [PATCH] Remove erroneous POSIX guards for reentrant locale functions Signed-off-by: Corinna Vinschen --- newlib/libc/include/locale.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h index 6b3b78830..4fb78755e 100644 --- a/newlib/libc/include/locale.h +++ b/newlib/libc/include/locale.h @@ -71,12 +71,10 @@ struct _reent; 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