2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>

* libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
        * libc/include/wctype.h: Ditto.
This commit is contained in:
Jeff Johnston 2002-11-07 00:44:31 +00:00
parent 5b30331167
commit 18cd62b7fb
3 changed files with 9 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
* libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
* libc/include/wctype.h: Ditto.
2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/wchar.h: Add extern "C" specifier if C++.

View File

@ -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_ */

View File

@ -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_ */