commit | fd3171b465184b8eac16dfc88b954b2d6748b2ce | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Wed May 14 10:33:34 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 14 10:33:35 2014 +0000 |
tree | 690ed25896582c016582fdf04383efaf7edad21f | |
parent | 3e684183881f18b9f3300257b6d65e83f8d5e27c [diff] | |
parent | 0c472479a2b34f67b606e6419c506ddfdcf1a403 [diff] |
Merge "Change wctype_t from enum to int"
diff --git a/libc/include/wchar.h b/libc/include/wchar.h index 4ac468d..5ef1cf1 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h
@@ -47,7 +47,7 @@ #endif } mbstate_t; -typedef enum { +enum { WC_TYPE_INVALID = 0, WC_TYPE_ALNUM, WC_TYPE_ALPHA, @@ -62,7 +62,9 @@ WC_TYPE_UPPER, WC_TYPE_XDIGIT, WC_TYPE_MAX -} wctype_t; +}; + +typedef int wctype_t; #define WEOF ((wint_t)(-1))