summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4/extern.h
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-08-16 14:18:22 +0000
committertjr <tjr@FreeBSD.org>2004-08-16 14:18:22 +0000
commit1d5fa9d950aab078562e5ec6ac4999759ae30cc3 (patch)
tree088ee3d6e5669a3d27abe1db6259f06143bfa7b1 /usr.bin/m4/extern.h
parent776807c108140db246983939942ef04900ed7d84 (diff)
downloadFreeBSD-src-1d5fa9d950aab078562e5ec6ac4999759ae30cc3.zip
FreeBSD-src-1d5fa9d950aab078562e5ec6ac4999759ae30cc3.tar.gz
Store a pointer to "null" in struct ndblock's defn member instead of a
duplicate allocated on the heap; the address defn points to is significant, and is checked against the address of "null" in certain conditionals. PR: 59883 MFC after: 1 week
Diffstat (limited to 'usr.bin/m4/extern.h')
-rw-r--r--usr.bin/m4/extern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index 88cba41..e96870b 100644
--- a/usr.bin/m4/extern.h
+++ b/usr.bin/m4/extern.h
@@ -149,7 +149,7 @@ extern char ecommt[MAXCCHARS+1];/* end character for comment */
extern char *ep; /* first free char in strspace */
extern char lquote[MAXCCHARS+1];/* left quote character (`) */
extern const char *m4wraps; /* m4wrap string default. */
-extern const char *null; /* as it says.. just a null. */
+extern char null[]; /* as it says.. just a null. */
extern char rquote[MAXCCHARS+1];/* right quote character (') */
extern char scommt[MAXCCHARS+1];/* start character for comment */
extern int synccpp; /* Line synchronisation for C preprocessor */
OpenPOWER on IntegriCloud