diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-03-04 03:05:54 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-03-04 03:05:54 -0500 |
| commit | f9035ffc60de8505522c8092f7d53269dd8a4738 (patch) | |
| tree | 96c9edfee758f6d39e44c8d3fdabec6048c1673a /src/nonstd | |
| parent | 8b1380b63d62a1e1858a102fb36c2078697581ec (diff) | |
remove nonstd/ctype.h
Diffstat (limited to 'src/nonstd')
| -rw-r--r-- | src/nonstd/_locale.h | 4 | ||||
| -rw-r--r-- | src/nonstd/ctype-internal.ref | 3 | ||||
| -rw-r--r-- | src/nonstd/ctype_t.c | 14 |
3 files changed, 2 insertions, 19 deletions
diff --git a/src/nonstd/_locale.h b/src/nonstd/_locale.h index 79904e1f..be692e87 100644 --- a/src/nonstd/_locale.h +++ b/src/nonstd/_locale.h @@ -4,9 +4,8 @@ #include <string.h> #include "nonstd/locale.h" -#include "nonstd/ctype.h" +#include "../ctype/_ctype.h" -/* #define LC_COLLATE_MASK (1<<0) #define LC_CTYPE_MASK (1<<1) #define LC_MONETARY_MASK (1<<2) @@ -14,7 +13,6 @@ #define LC_TIME_MASK (1<<4) #define LC_MESSAGES_MASK (1<<5) #define LC_ALL_MASK (0xff) -*/ #define setall(_map, _input, _mask) do { \ size_t _i; \ diff --git a/src/nonstd/ctype-internal.ref b/src/nonstd/ctype-internal.ref index 3412e61c..8b137891 100644 --- a/src/nonstd/ctype-internal.ref +++ b/src/nonstd/ctype-internal.ref @@ -1,2 +1 @@ -#include <nonstd/ctype.h> -REFERENCE(<nonstd/internal.h>) + diff --git a/src/nonstd/ctype_t.c b/src/nonstd/ctype_t.c index dad5568f..8b137891 100644 --- a/src/nonstd/ctype_t.c +++ b/src/nonstd/ctype_t.c @@ -1,15 +1 @@ -#include <nonstd/ctype.h> -typedef enum { - CT_ALPHA = (1 << 0), - CT_CNTRL = (1 << 1), - CT_DIGIT = (1 << 2), - CT_GRAPH = (1 << 3), - CT_LOWER = (1 << 4), - CT_PRINT = (1 << 5), - CT_PUNCT = (1 << 6), - CT_SPACE = (1 << 7), - CT_UPPER = (1 << 8), - CT_XDIGIT = (1 << 9), - CT_BLANK = (1 << 10), -} ctype_t; |
