Moved mbstate to wchar.h
Restored glibc/wcsmbs/wchar.h git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11451 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -9,6 +9,14 @@
|
||||
|
||||
#include <wchar_t.h>
|
||||
|
||||
#define _WINT_T
|
||||
typedef unsigned int wint_t;
|
||||
|
||||
typedef struct {
|
||||
int __count;
|
||||
wint_t __value;
|
||||
} mbstate_t;
|
||||
|
||||
#include <size_t.h>
|
||||
|
||||
int mbsinit(const mbstate_t *);
|
||||
|
||||
@@ -11,13 +11,5 @@
|
||||
typedef unsigned short wchar_t;
|
||||
#endif
|
||||
|
||||
#define _WINT_T
|
||||
typedef unsigned int wint_t;
|
||||
|
||||
typedef struct {
|
||||
int __count;
|
||||
wint_t __value;
|
||||
} mbstate_t;
|
||||
|
||||
#endif /* _WCHAR_T_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user