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

This commit is contained in:
Tim J. Robbins 2002-06-14 15:56:52 +00:00
parent 4efc23dabf
commit dc20d4b9d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98222

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