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:
parent
3a7a88e4bc
commit
30589be58b
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user