Move the #include and #define's to the top of the file.
This commit is contained in:
parent
4efc23dabf
commit
dc20d4b9d4
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user