diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-03-16 21:13:13 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2006-03-16 21:13:13 +0000 |
commit | a718f058bcda11840a050764487ac0849cd03446 (patch) | |
tree | df20a2646c200ec7c278ae6c1159bf8c0ea4f840 /usr.bin/tip/value.c | |
parent | a397a40b7c93265cb2ed617a6612f3db999b591c (diff) |
Fix bug that was uncovered by adding correct prototypes and
remove lots of names from func declarations. ok dhill@
Diffstat (limited to 'usr.bin/tip/value.c')
-rw-r--r-- | usr.bin/tip/value.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/tip/value.c b/usr.bin/tip/value.c index 9829200ccb2..b3c7fc4ddc0 100644 --- a/usr.bin/tip/value.c +++ b/usr.bin/tip/value.c @@ -1,4 +1,4 @@ -/* $OpenBSD: value.c,v 1.11 2006/03/16 19:32:46 deraadt Exp $ */ +/* $OpenBSD: value.c,v 1.12 2006/03/16 21:13:12 moritz Exp $ */ /* $NetBSD: value.c,v 1.6 1997/02/11 09:24:09 mrg Exp $ */ /* @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)value.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: value.c,v 1.11 2006/03/16 19:32:46 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: value.c,v 1.12 2006/03/16 21:13:12 moritz Exp $"; #endif /* not lint */ #include "tip.h" @@ -199,7 +199,6 @@ vtoken(char *s) static void vprint(value_t *p) { - extern char *interp(); char *cp; if (col > 0 && col < MIDDLE) @@ -220,7 +219,7 @@ vprint(value_t *p) printf("%s=", p->v_name); col++; if (p->v_value) { - cp = interp(p->v_value, NULL); + cp = interp(p->v_value); col += size(cp); printf("%s", cp); } |