summaryrefslogtreecommitdiff
path: root/usr.bin/m4/extern.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-06-12 14:36:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-06-12 14:36:44 +0000
commit01acb80ad3ae8cf5185111544c0b4fd6e18b3b11 (patch)
treeb5657cbcaa4b617760027abd88326bffcd1606d1 /usr.bin/m4/extern.h
parentd165f2bd0ac5bf9c00ee94add1b5e0c2869c120c (diff)
switch from linked list to hash table for traced macros.
speeds up recent autoconf somewhat, since it traces a large set of individual macro. (more rework of m4 internal interfaces to unify lookup tables in order) okay fries@
Diffstat (limited to 'usr.bin/m4/extern.h')
-rw-r--r--usr.bin/m4/extern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index 6cae231f0af..57275a7f89d 100644
--- a/usr.bin/m4/extern.h
+++ b/usr.bin/m4/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.31 2003/06/03 02:56:10 millert Exp $ */
+/* $OpenBSD: extern.h,v 1.32 2003/06/12 14:36:43 espie Exp $ */
/* $NetBSD: extern.h,v 1.3 1996/01/13 23:25:24 pk Exp $ */
/*-
@@ -123,6 +123,7 @@ extern void finish_trace(size_t);
extern int traced_macros;
extern void set_trace_flags(const char *);
extern FILE *traceout;
+extern void init_trace(void);
extern ndptr hashtab[]; /* hash table for macros etc. */
extern stae *mstack; /* stack of m4 machine */