summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tr/extern.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tr/extern.h b/usr.bin/tr/extern.h
index fc30136..356f025 100644
--- a/usr.bin/tr/extern.h
+++ b/usr.bin/tr/extern.h
@@ -34,6 +34,10 @@
* $FreeBSD$
*/
+#include <limits.h>
+#define NCHARS (UCHAR_MAX + 1) /* Number of possible characters. */
+#define OOBCH (UCHAR_MAX + 1) /* Out of band character value. */
+
typedef struct {
enum { STRING1, STRING2 } which;
enum { EOS, INFINITE, NORMAL, RANGE, SEQUENCE, SET } state;
@@ -44,8 +48,4 @@ typedef struct {
char *str; /* user's string */
} STR;
-#include <limits.h>
-#define NCHARS (UCHAR_MAX + 1) /* Number of possible characters. */
-#define OOBCH (UCHAR_MAX + 1) /* Out of band character value. */
-
int next(STR *);
OpenPOWER on IntegriCloud