diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/wchar.h | 8 | ||||
-rw-r--r-- | newlib/libc/include/wctype.h | 8 |
2 files changed, 4 insertions, 12 deletions
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h index 2c5fd0ef7..736b09cb1 100644 --- a/newlib/libc/include/wchar.h +++ b/newlib/libc/include/wchar.h @@ -31,9 +31,7 @@ #endif #endif -#ifdef __cplusplus -extern "C" { -#endif +_BEGIN_STD_C #ifndef _MBSTATE_T #define _MBSTATE_T @@ -69,8 +67,6 @@ wchar_t *_EXFUN(wmemcpy, (wchar_t * , const wchar_t * , size_t)); wchar_t *_EXFUN(wmemmove, (wchar_t *, const wchar_t *, size_t)); wchar_t *_EXFUN(wmemset, (wchar_t *, wchar_t, size_t)); -#ifdef __cplusplus -} -#endif +_END_STD_C #endif /* _WCHAR_H_ */ diff --git a/newlib/libc/include/wctype.h b/newlib/libc/include/wctype.h index 15aec00e3..c72c9decf 100644 --- a/newlib/libc/include/wctype.h +++ b/newlib/libc/include/wctype.h @@ -11,9 +11,7 @@ # define WEOF ((wint_t)-1) #endif -#ifdef __cplusplus -extern "C" { -#endif +_BEGIN_STD_C #ifndef _WCTYPE_T #define _WCTYPE_T @@ -44,8 +42,6 @@ wint_t _EXFUN(towlower, (wint_t)); wctrans_t _EXFUN(wctrans, (const char *)); wctype_t _EXFUN(wctype, (const char *)); -#ifdef __cplusplus -} -#endif +_END_STD_C #endif /* _WCTYPE_H_ */ |