summaryrefslogtreecommitdiff
path: root/usr.bin/awk/awk.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2023-11-25 16:31:34 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2023-11-25 16:31:34 +0000
commitf32f94607735461e1e24ccbce40bac51d106532d (patch)
treec416ae920a4e4551aac8097a08c09bcf28c59ed0 /usr.bin/awk/awk.h
parentde53af60e639ddb1e917427d64abb108d64ff5c3 (diff)
Update awk to the Nov 24, 2023 version.
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r--usr.bin/awk/awk.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/usr.bin/awk/awk.h b/usr.bin/awk/awk.h
index a57e27eaffd..3b5c67b60c3 100644
--- a/usr.bin/awk/awk.h
+++ b/usr.bin/awk/awk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: awk.h,v 1.30 2023/09/18 19:32:19 millert Exp $ */
+/* $OpenBSD: awk.h,v 1.31 2023/11/25 16:31:33 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -257,14 +257,19 @@ typedef struct rrow {
int *lfollow;
} rrow;
-typedef struct gtt { /* gototab entry */
+typedef struct gtte { /* gototab entry */
unsigned int ch;
unsigned int state;
+} gtte;
+
+typedef struct gtt { /* gototab */
+ size_t allocated;
+ size_t inuse;
+ gtte *entries;
} gtt;
typedef struct fa {
- gtt **gototab;
- int gototab_len;
+ gtt *gototab;
uschar *out;
uschar *restr;
int **posns;