* libc/include/wchar.h: Add extern "C" specifier if C++.
* libc/include/wctype.h: Ditto.
+2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/wchar.h: Add extern "C" specifier if C++.
+ * libc/include/wctype.h: Ditto.
+
2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
* testsuite/newlib.wctype/tiswctype.c: New test case.
#endif
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef _MBSTATE_T
#define _MBSTATE_T
typedef _mbstate_t mbstate_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
+
#endif /* _WCHAR_H_ */
# define WEOF ((wint_t)-1)
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifndef _WCTYPE_T
#define _WCTYPE_T
typedef int wctype_t;
wctrans_t _EXFUN(wctrans, (const char *));
wctype_t _EXFUN(wctype, (const char *));
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _WCTYPE_H_ */