aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tip
diff options
context:
space:
mode:
authorStefan Farfeleder <stefanf@FreeBSD.org>2004-05-06 13:25:09 +0000
committerStefan Farfeleder <stefanf@FreeBSD.org>2004-05-06 13:25:09 +0000
commita2c1b13f5c02fac33495015d12cdaed0a113888c (patch)
treed98a1e4249c54c407e7cae4f423b13ae13666b41 /usr.bin/tip
parentc8d5cfbd816aba9cc4199ae65924384155a7b61f (diff)
downloadsrc-a2c1b13f5c02fac33495015d12cdaed0a113888c.tar.gz
src-a2c1b13f5c02fac33495015d12cdaed0a113888c.zip
Notes
Diffstat (limited to 'usr.bin/tip')
-rw-r--r--usr.bin/tip/tip/tip.h1
-rw-r--r--usr.bin/tip/tip/value.c3
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);
}