diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-01-20 23:47:05 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-01-20 23:47:05 +0000 |
commit | 544ed48cab2c3caf2355a98e0d8293ac10771380 (patch) | |
tree | 1f365c34f003c6c3dfb598db28576824b69cc73c /usr.bin | |
parent | 09c839285bbc7eb5a6fd783b65e8062bddd7bf9d (diff) |
remove unused variables, extra declarations.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/m4/eval.c | 5 | ||||
-rw-r--r-- | usr.bin/m4/main.c | 5 | ||||
-rw-r--r-- | usr.bin/m4/trace.c | 3 |
3 files changed, 5 insertions, 8 deletions
diff --git a/usr.bin/m4/eval.c b/usr.bin/m4/eval.c index 6c0c8dcb399..4ca9992832d 100644 --- a/usr.bin/m4/eval.c +++ b/usr.bin/m4/eval.c @@ -1,4 +1,4 @@ -/* $OpenBSD: eval.c,v 1.51 2003/11/17 17:12:10 espie Exp $ */ +/* $OpenBSD: eval.c,v 1.52 2005/01/20 23:47:04 espie Exp $ */ /* $NetBSD: eval.c,v 1.7 1996/11/10 21:21:29 pk Exp $ */ /* @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)eval.c 8.2 (Berkeley) 4/27/95"; #else -static char rcsid[] = "$OpenBSD: eval.c,v 1.51 2003/11/17 17:12:10 espie Exp $"; +static char rcsid[] = "$OpenBSD: eval.c,v 1.52 2005/01/20 23:47:04 espie Exp $"; #endif #endif /* not lint */ @@ -579,7 +579,6 @@ static void dodefn(const char *name) { struct macro_definition *p; - char *real; if ((p = lookup_macro_definition(name)) != NULL) { if ((p->type & TYPEMASK) == MACRTYPE) { diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c index 04ea0dcf4ef..21825bc28dd 100644 --- a/usr.bin/m4/main.c +++ b/usr.bin/m4/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.64 2003/11/17 17:12:10 espie Exp $ */ +/* $OpenBSD: main.c,v 1.65 2005/01/20 23:47:04 espie Exp $ */ /* $NetBSD: main.c,v 1.12 1997/02/08 23:54:49 cgd Exp $ */ /*- @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.64 2003/11/17 17:12:10 espie Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.65 2005/01/20 23:47:04 espie Exp $"; #endif #endif /* not lint */ @@ -543,7 +543,6 @@ inspect(int c, char *tp) char *name = tp; char *etp = tp+MAXTOK; ndptr p; - unsigned int h; *tp++ = c; diff --git a/usr.bin/m4/trace.c b/usr.bin/m4/trace.c index 3d76c1264b8..8338db2b91b 100644 --- a/usr.bin/m4/trace.c +++ b/usr.bin/m4/trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trace.c,v 1.10 2003/06/30 22:13:33 espie Exp $ */ +/* $OpenBSD: trace.c,v 1.11 2005/01/20 23:47:04 espie Exp $ */ /* * Copyright (c) 2001 Marc Espie. * @@ -47,7 +47,6 @@ FILE *traceout = stderr; static unsigned int letter_to_flag(int); static void print_header(struct input_file *); -static struct t *find_trace_entry(const char *); static int frame_level(void); |