diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2002-11-04 22:04:09 +0300 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2002-11-04 22:04:09 +0300 |
commit | d28888120d6c2e204d7bb494b99d73732745d7f8 (patch) | |
tree | fa328147b048896b089d4b2c1ba0fbe4a5e2bfa0 /newlib/libc/include/wctype.h | |
parent | 6f37a0a1d93f80e24280fa1e3b1f6ddea9341c19 (diff) |
2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/wchar.h: Add extern "C" specifier if C++.
* libc/include/wctype.h: Ditto.
Diffstat (limited to 'newlib/libc/include/wctype.h')
-rw-r--r-- | newlib/libc/include/wctype.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/include/wctype.h b/newlib/libc/include/wctype.h index 77f10e47d..15aec00e3 100644 --- a/newlib/libc/include/wctype.h +++ b/newlib/libc/include/wctype.h @@ -11,6 +11,10 @@ # define WEOF ((wint_t)-1) #endif +#ifdef __cplusplus +extern "C" { +#endif + #ifndef _WCTYPE_T #define _WCTYPE_T typedef int wctype_t; @@ -40,4 +44,8 @@ wint_t _EXFUN(towlower, (wint_t)); wctrans_t _EXFUN(wctrans, (const char *)); wctype_t _EXFUN(wctype, (const char *)); +#ifdef __cplusplus +} +#endif + #endif /* _WCTYPE_H_ */ |