Move the #include and #define's to the top of the file.

This commit is contained in:
tjr 2002-06-14 15:56:52 +00:00
parent 38575dbfdf
commit 1fa61e7038

View File

@ -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 *);