diff options
Diffstat (limited to 'usr.bin/tr/extern.h')
-rw-r--r-- | usr.bin/tr/extern.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tr/extern.h b/usr.bin/tr/extern.h index 356f0251eaea..a5ed577c09a6 100644 --- a/usr.bin/tr/extern.h +++ b/usr.bin/tr/extern.h @@ -40,7 +40,8 @@ typedef struct { enum { STRING1, STRING2 } which; - enum { EOS, INFINITE, NORMAL, RANGE, SEQUENCE, SET } state; + enum { EOS, INFINITE, NORMAL, RANGE, SEQUENCE, + SET, SET_UPPER, SET_LOWER } state; int cnt; /* character count */ int lastch; /* last character */ int equiv[NCHARS]; /* equivalence set */ @@ -49,3 +50,5 @@ typedef struct { } STR; int next(STR *); +int charcoll(const void *, const void *); + |