summaryrefslogtreecommitdiff
path: root/usr.bin/awk/awk.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-07 15:59:57 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-07 15:59:57 +0000
commit6c6689251ad77caa13c71dbab5aa29607daa519a (patch)
treed1f38d60653229d8e4927639aa78c52a5f6859cf /usr.bin/awk/awk.h
parent97d5c59784d71a69f75bc89935c758d4ce44bef9 (diff)
Back out last changes for now. They cause problems.
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r--usr.bin/awk/awk.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/awk/awk.h b/usr.bin/awk/awk.h
index 23d1823c4ec..213e43302c8 100644
--- a/usr.bin/awk/awk.h
+++ b/usr.bin/awk/awk.h
@@ -193,7 +193,7 @@ extern Node *nullnode;
#define NFIELD 4
-extern long pairstack[], paircnt;
+extern int pairstack[], paircnt;
#define notlegal(n) (n <= FIRSTTOKEN || n >= LASTTOKEN || proctab[n-FIRSTTOKEN] == nullproc)
#define isvalue(n) ((n)->ntype == NVALUE)
@@ -221,13 +221,13 @@ extern long pairstack[], paircnt;
#define NSTATES 32
typedef struct rrow {
- long ltype;
+ int ltype;
union {
int i;
Node *np;
char *up;
} lval; /* because Al stores a pointer in it! */
- long *lfollow;
+ int *lfollow;
} rrow;
typedef struct fa {
@@ -235,7 +235,7 @@ typedef struct fa {
int anchor;
int use;
uschar gototab[NSTATES][NCHARS];
- long *posns[NSTATES];
+ int *posns[NSTATES];
uschar out[NSTATES];
int initstat;
int curstat;