aboutsummaryrefslogtreecommitdiff
path: root/awk.h
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-02-07 20:33:46 -0800
committerElliott Hughes <enh@google.com>2020-02-10 12:16:48 -0800
commit69b38a7b2d0138fe1cd8275389148ab8da472fef (patch)
treef309d66d506395d55429260920ae60c0e6eba76a /awk.h
parent2b2ca9f3fb281122e14253c2d58b88e3e3ee3335 (diff)
parente9c99065fd31253a4db4a6bce673decd143f7a3e (diff)
downloadone-true-awk-69b38a7b2d0138fe1cd8275389148ab8da472fef.tar.gz
Upgrade one-true-awk to e9c99065fd31253a4db4a6bce673decd143f7a3e
Test: None Change-Id: I1deb6d8c9e61f129ee3cfe324eea796a5dc7b0c8
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/awk.h b/awk.h
index bede1b0..6865438 100644
--- a/awk.h
+++ b/awk.h
@@ -60,6 +60,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;
@@ -78,8 +79,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 */