Added C++ guard. I don't know, why we define the <wctype.h> protos both

there and in <wchar.h>. Any reason for not removing them in <wctype.h>? Or
maybe even nicer reverse the inclusion direction, i.e. remove the
duplicate protos in <wchar.h> and include <wctype.h> instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20317 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-03-04 02:31:43 +00:00
parent 3a7a88e4bc
commit 30589be58b
1 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,10 @@ typedef struct {
#include <size_t.h>
#ifdef __cplusplus
extern "C" {
#endif
extern wint_t fgetwc(FILE *);
extern wchar_t *fgetws(wchar_t *, int, FILE *);
extern wint_t fputwc(wchar_t, FILE *);
@ -82,6 +86,10 @@ extern size_t wcsxfrm(wchar_t *, const wchar_t *, size_t);
extern wctype_t wctype(const char *);
extern int wcwidth(wchar_t);
#ifdef __cplusplus
}
#endif
#define WEOF ((wint_t)(-1))
#endif /* _WCHAR_H */