diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-02-28 14:16:05 -0500 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-02-28 14:16:05 -0500 |
commit | 69315080f1665373a1753c351fee1251af0545a4 (patch) | |
tree | 61c6592146afeade2ad57d9e930a341510b571ae /src/wctype/wctype.c | |
parent | 80548c779ba2302b2a4256f15d6e5f66b5dcfb18 (diff) |
clean up internal namespace
Diffstat (limited to 'src/wctype/wctype.c')
-rw-r--r-- | src/wctype/wctype.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/wctype/wctype.c b/src/wctype/wctype.c index 1b27af1d..cad10dae 100644 --- a/src/wctype/wctype.c +++ b/src/wctype/wctype.c @@ -9,27 +9,27 @@ wctype_t wctype(const char * property) ASSERT_NONNULL(property); if (!strcmp(property, "alnum")) { - return ALPHA | DIGIT; + return CT_ALPHA | CT_DIGIT; } else if (!strcmp(property, "alpha")) { - return ALPHA; + return CT_ALPHA; } else if (!strcmp(property, "cntrl")) { - return CNTRL; + return CT_CNTRL; } else if (!strcmp(property, "digit")) { - return DIGIT; + return CT_DIGIT; } else if (!strcmp(property, "graph")) { - return GRAPH; + return CT_GRAPH; } else if (!strcmp(property, "lower")) { - return LOWER; + return CT_LOWER; } else if (!strcmp(property, "print")) { - return PRINT; + return CT_PRINT; } else if (!strcmp(property, "punct")) { - return PUNCT; + return CT_PUNCT; } else if (!strcmp(property, "space")) { - return SPACE; + return CT_SPACE; } else if (!strcmp(property, "upper")) { - return UPPER; + return CT_UPPER; } else if (!strcmp(property, "xdigit")) { - return XDIGIT; + return CT_XDIGIT; } return 0; |