summaryrefslogtreecommitdiff
path: root/usr.bin/m4/extern.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-01-11 14:06:13 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-01-11 14:06:13 +0000
commit23672b016e655ac72332ce1d7258b102c47affc4 (patch)
tree6eb96ecee200b2dd25c7d5bb073bfc00598e3788 /usr.bin/m4/extern.h
parente9c732393983baaa370e71df06a0ea002b54c413 (diff)
Don't recognize built-ins in contexts where they don't make sense.
Namely, it doesn't help to try and expand include if it's not followed by parenthesis and a filename. This should make applications like sendmail m4 scripts more sturdy for unquoted machine names that happen to collide with built-ins. The only drawback is that our m4 may now do intelligent things with scripts that don't work on other systems.
Diffstat (limited to 'usr.bin/m4/extern.h')
-rw-r--r--usr.bin/m4/extern.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index aae0fabde18..5d44b105031 100644
--- a/usr.bin/m4/extern.h
+++ b/usr.bin/m4/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.13 1999/11/30 22:19:50 espie Exp $ */
+/* $OpenBSD: extern.h,v 1.14 2000/01/11 14:06:11 espie Exp $ */
/* $NetBSD: extern.h,v 1.3 1996/01/13 23:25:24 pk Exp $ */
/*-
@@ -57,6 +57,9 @@ extern unsigned hash __P((const char *));
extern ndptr lookup __P((const char *));
extern void remhash __P((const char *, int));
+/* main.c */
+extern void outputstr __P((const char *));
+
/* misc.c */
extern void chrsave __P((int));
extern char *compute_prevep __P((void));