diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2020-06-10 21:05:03 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2020-06-10 21:05:03 +0000 |
commit | 7b05182efa62f2da176b0bf28e1aea87187b8d7c (patch) | |
tree | 5541f597b204ae3f1b2c9e2b4d1f1e41bd48c52e /usr.bin/awk/awk.h | |
parent | b1b4a48f2797b1fa13766a126a0c0ef1e1fbc965 (diff) |
Update awk to Jan 31, 2020 version.
Diffstat (limited to 'usr.bin/awk/awk.h')
-rw-r--r-- | usr.bin/awk/awk.h | 5 |
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 */ |