diff options
author | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-05-06 13:25:09 +0000 |
---|---|---|
committer | Stefan Farfeleder <stefanf@FreeBSD.org> | 2004-05-06 13:25:09 +0000 |
commit | a2c1b13f5c02fac33495015d12cdaed0a113888c (patch) | |
tree | d98a1e4249c54c407e7cae4f423b13ae13666b41 /usr.bin/tip | |
parent | c8d5cfbd816aba9cc4199ae65924384155a7b61f (diff) | |
download | src-a2c1b13f5c02fac33495015d12cdaed0a113888c.tar.gz src-a2c1b13f5c02fac33495015d12cdaed0a113888c.zip |
Notes
Diffstat (limited to 'usr.bin/tip')
-rw-r--r-- | usr.bin/tip/tip/tip.h | 1 | ||||
-rw-r--r-- | usr.bin/tip/tip/value.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tip/tip/tip.h b/usr.bin/tip/tip/tip.h index a274a641dc3d..f240f156434e 100644 --- a/usr.bin/tip/tip/tip.h +++ b/usr.bin/tip/tip/tip.h @@ -291,6 +291,7 @@ void cumain(int argc, char *argv[]); void daemon_uid(void); void disconnect(char *reason); void execute(char *s); +char *interp(char *s); void logent(char *group, const char *num, const char *acu, const char *message); void loginit(void); void prtime(char *s, time_t a); diff --git a/usr.bin/tip/tip/value.c b/usr.bin/tip/tip/value.c index 66c20a0a8e0c..4554c5a2dae8 100644 --- a/usr.bin/tip/tip/value.c +++ b/usr.bin/tip/tip/value.c @@ -218,7 +218,6 @@ vprint(p) value_t *p; { char *cp; - extern char *interp(); if (col > 0 && col < MIDDLE) while (col++ < MIDDLE) @@ -238,7 +237,7 @@ vprint(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); } |