summaryrefslogtreecommitdiff
path: root/usr.bin/m4
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-09-27 07:24:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-09-27 07:24:03 +0000
commit3c3a7ab16e31b137e500f284f63cae36308c3c75 (patch)
tree580c29be397ec0191a5328c2056dc54d4403f1de /usr.bin/m4
parent49ca6c844518def816b9de939c32ea72788c5aae (diff)
zap dead stuff
from Michael W. Bombardieri
Diffstat (limited to 'usr.bin/m4')
-rw-r--r--usr.bin/m4/extern.h3
-rw-r--r--usr.bin/m4/main.c3
-rw-r--r--usr.bin/m4/mdef.h3
3 files changed, 3 insertions, 6 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index 17953c7e7ef..a988cffcb27 100644
--- a/usr.bin/m4/extern.h
+++ b/usr.bin/m4/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.50 2010/09/07 19:58:09 marco Exp $ */
+/* $OpenBSD: extern.h,v 1.51 2011/09/27 07:24:02 espie Exp $ */
/* $NetBSD: extern.h,v 1.3 1996/01/13 23:25:24 pk Exp $ */
/*-
@@ -144,7 +144,6 @@ extern void finish_trace(size_t);
extern void set_trace_flags(const char *);
extern FILE *traceout;
-extern ndptr hashtab[]; /* hash table for macros etc. */
extern stae *mstack; /* stack of m4 machine */
extern char *sstack; /* shadow stack, for string space extension */
extern FILE *active; /* active output file pointer */
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index bd61e6fc529..851ff374b89 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.79 2010/09/07 19:58:09 marco Exp $ */
+/* $OpenBSD: main.c,v 1.80 2011/09/27 07:24:02 espie Exp $ */
/* $NetBSD: main.c,v 1.12 1997/02/08 23:54:49 cgd Exp $ */
/*-
@@ -56,7 +56,6 @@
#include "extern.h"
#include "pathnames.h"
-ndptr hashtab[HASHSIZE]; /* hash table for macros etc. */
stae *mstack; /* stack of m4 machine */
char *sstack; /* shadow stack, for string space extension */
static size_t STACKMAX; /* current maximum size of stack */
diff --git a/usr.bin/m4/mdef.h b/usr.bin/m4/mdef.h
index ddf7d47a095..a4a2bbdc1e6 100644
--- a/usr.bin/m4/mdef.h
+++ b/usr.bin/m4/mdef.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdef.h,v 1.30 2010/09/07 19:58:09 marco Exp $ */
+/* $OpenBSD: mdef.h,v 1.31 2011/09/27 07:24:02 espie Exp $ */
/* $NetBSD: mdef.h,v 1.7 1996/01/13 23:25:27 pk Exp $ */
/*
@@ -121,7 +121,6 @@
#define INITSTACKMAX 4096 /* starting size of call stack */
#define STRSPMAX 4096 /* starting size of string space */
#define MAXTOK 512 /* maximum chars in a tokn */
-#define HASHSIZE 199 /* maximum size of hashtab */
#define MAXCCHARS 5 /* max size of comment/quote delim */
#define ALL 1