summaryrefslogtreecommitdiffstats
path: root/contrib/one-true-awk/awk.h
diff options
context:
space:
mode:
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