diff options
Diffstat (limited to 'newlib/libc/include/locale.h')
-rw-r--r-- | newlib/libc/include/locale.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/newlib/libc/include/locale.h b/newlib/libc/include/locale.h index 4718248d8..ebe1422fe 100644 --- a/newlib/libc/include/locale.h +++ b/newlib/libc/include/locale.h @@ -5,9 +5,6 @@ */ #ifndef _LOCALE_H_ -#ifdef __cplusplus -extern "C" { -#endif #define _LOCALE_H_ #include "_ansi.h" @@ -24,6 +21,8 @@ extern "C" { #define LC_TIME 5 #define LC_MESSAGES 6 +_BEGIN_STD_C + struct lconv { char *decimal_point; @@ -55,7 +54,6 @@ struct _reent; char *_EXFUN(_setlocale_r,(struct _reent *, int category, const char *locale)); struct lconv *_EXFUN(_localeconv_r,(struct _reent *)); -#ifdef __cplusplus -} -#endif +_END_STD_C + #endif /* _LOCALE_H_ */ |