From 18cd62b7fbaaa6a63f017231314b2c9a81b55010 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 7 Nov 2002 00:44:31 +0000 Subject: 2002-11-06 Kazuhiro Fujieda * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C". * libc/include/wctype.h: Ditto. --- newlib/libc/include/wchar.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'newlib/libc/include/wchar.h') 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_ */ -- cgit v1.2.3