aboutsummaryrefslogtreecommitdiff
path: root/awk.h
diff options
context:
space:
mode:
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 */