summaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/awk.h
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-05-16 19:11:36 +0000
committerru <ru@FreeBSD.org>2005-05-16 19:11:36 +0000
commit78d66df18b9755543261f33b621153a97634a136 (patch)
tree33f1015b814b02b503e72df8a6aea18084ad3991 /contrib/one-true-awk/awk.h
parent90fe2c86f7f5001762e4c3af00a323f801d8b737 (diff)
downloadFreeBSD-src-78d66df18b9755543261f33b621153a97634a136.zip
FreeBSD-src-78d66df18b9755543261f33b621153a97634a136.tar.gz
Vendor import of bwk's 24-Apr-2005 release.
Diffstat (limited to 'contrib/one-true-awk/awk.h')
-rw-r--r--contrib/one-true-awk/awk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/one-true-awk/awk.h b/contrib/one-true-awk/awk.h
index 4b2cb8f..2ff5024 100644
--- a/contrib/one-true-awk/awk.h
+++ b/contrib/one-true-awk/awk.h
@@ -22,6 +22,8 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
THIS SOFTWARE.
****************************************************************/
+#include <assert.h>
+
typedef double Awkfloat;
/* unsigned char is more trouble than it's worth */
@@ -40,8 +42,6 @@ typedef unsigned char uschar;
# define dprintf(x)
#endif
-extern char errbuf[];
-
extern int compile_time; /* 1 if compiling, 0 if running */
extern int safe; /* 0 => unsafe, 1 => safe */
@@ -201,7 +201,7 @@ extern int pairstack[], paircnt;
/* structures used by regular expression matching machinery, mostly b.c: */
-#define NCHARS (256+1) /* 256 handles 8-bit chars; 128 does 7-bit */
+#define NCHARS (256+3) /* 256 handles 8-bit chars; 128 does 7-bit */
/* watch out in match(), etc. */
#define NSTATES 32
OpenPOWER on IntegriCloud