summaryrefslogtreecommitdiffstats
path: root/usr.bin/awk/awk.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2020-06-10 21:05:02 +0000
committermillert <millert@openbsd.org>2020-06-10 21:05:02 +0000
commitfabd211e95b1c7c6626f4807399d389e829a3709 (patch)
tree3175e17f74ba04880941803e7a1aae2a8876960a /usr.bin/awk/awk.h
parentUpdate awk to Jan 5, 2020 version. (diff)
downloadwireguard-openbsd-fabd211e95b1c7c6626f4807399d389e829a3709.tar.xz
wireguard-openbsd-fabd211e95b1c7c6626f4807399d389e829a3709.zip
Update awk to Jan 31, 2020 version.
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r--usr.bin/awk/awk.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/awk/awk.h b/usr.bin/awk/awk.h
index ba604cae6a6..e010dd7184d 100644
--- a/usr.bin/awk/awk.h
+++ b/usr.bin/awk/awk.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: awk.h,v 1.21 2020/06/10 21:03:56 millert Exp $ */
+/* $OpenBSD: awk.h,v 1.22 2020/06/10 21:05:02 millert Exp $ */
/****************************************************************
Copyright (C) Lucent Technologies 1997
All Rights Reserved
@@ -61,6 +61,7 @@ extern bool safe; /* false => unsafe, true => safe */
#define RECSIZE (8 * 1024) /* sets limit on records, fields, etc., etc. */
extern int recsize; /* size of current record, orig RECSIZE */
+extern char EMPTY[]; /* this avoid -Wwritable-strings issues */
extern char **FS;
extern char **RS;
extern char **ORS;
@@ -79,8 +80,6 @@ extern int lineno; /* line number in awk program */
extern int errorflag; /* 1 if error has occurred */
extern bool donefld; /* true if record broken into fields */
extern bool donerec; /* true if record is valid (no fld has changed */
-extern char inputFS[]; /* FS at time of input, for field splitting */
-
extern int dbg;
extern const char *patbeg; /* beginning of pattern matched */