summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/tip/cmds.c3
-rw-r--r--usr.bin/tip/cu.c3
-rw-r--r--usr.bin/tip/remote.c4
-rw-r--r--usr.bin/tip/tip.c4
-rw-r--r--usr.bin/tip/value.c3
5 files changed, 9 insertions, 8 deletions
diff --git a/usr.bin/tip/cmds.c b/usr.bin/tip/cmds.c
index 258486f521c..c8762c449ee 100644
--- a/usr.bin/tip/cmds.c
+++ b/usr.bin/tip/cmds.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmds.c,v 1.37 2010/06/29 23:38:05 nicm Exp $ */
+/* $OpenBSD: cmds.c,v 1.38 2010/07/01 20:24:19 chl Exp $ */
/* $NetBSD: cmds.c,v 1.7 1997/02/11 09:24:03 mrg Exp $ */
/*
@@ -33,6 +33,7 @@
#include "tip.h"
#include "pathnames.h"
+#include <util.h>
#include <vis.h>
/*
diff --git a/usr.bin/tip/cu.c b/usr.bin/tip/cu.c
index a147036c13b..dde26179b72 100644
--- a/usr.bin/tip/cu.c
+++ b/usr.bin/tip/cu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cu.c,v 1.31 2010/06/29 23:38:05 nicm Exp $ */
+/* $OpenBSD: cu.c,v 1.32 2010/07/01 20:24:19 chl Exp $ */
/* $NetBSD: cu.c,v 1.5 1997/02/11 09:24:05 mrg Exp $ */
/*
@@ -32,6 +32,7 @@
#include <err.h>
#include <paths.h>
+#include <util.h>
#include "tip.h"
diff --git a/usr.bin/tip/remote.c b/usr.bin/tip/remote.c
index 0ca921a5dcd..5c4aea68c72 100644
--- a/usr.bin/tip/remote.c
+++ b/usr.bin/tip/remote.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: remote.c,v 1.25 2010/06/29 23:38:05 nicm Exp $ */
+/* $OpenBSD: remote.c,v 1.26 2010/07/01 20:24:19 chl Exp $ */
/* $NetBSD: remote.c,v 1.5 1997/04/20 00:02:45 mellon Exp $ */
/*
@@ -46,7 +46,7 @@ static void getremcap(char *);
static void
getremcap(char *host)
{
- char **p, ***q, *bp, *rempath, *strval;
+ char *bp, *rempath, *strval;
int stat;
long val;
diff --git a/usr.bin/tip/tip.c b/usr.bin/tip/tip.c
index 0b1d34fd2e8..61c52c48b62 100644
--- a/usr.bin/tip/tip.c
+++ b/usr.bin/tip/tip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tip.c,v 1.46 2010/06/30 00:09:27 nicm Exp $ */
+/* $OpenBSD: tip.c,v 1.47 2010/07/01 20:24:19 chl Exp $ */
/* $NetBSD: tip.c,v 1.13 1997/04/20 00:03:05 mellon Exp $ */
/*
@@ -50,7 +50,7 @@ static int escape(void);
int
main(int argc, char *argv[])
{
- char *sys = NULL, sbuf[12], *p;
+ char *sys = NULL;
int i, pair[2];
/* XXX preserve previous braindamaged behavior */
diff --git a/usr.bin/tip/value.c b/usr.bin/tip/value.c
index df5d8d16dcc..a31f7979189 100644
--- a/usr.bin/tip/value.c
+++ b/usr.bin/tip/value.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: value.c,v 1.23 2010/06/30 00:26:49 nicm Exp $ */
+/* $OpenBSD: value.c,v 1.24 2010/07/01 20:24:19 chl Exp $ */
/* $NetBSD: value.c,v 1.6 1997/02/11 09:24:09 mrg Exp $ */
/*
@@ -50,7 +50,6 @@ vinit(void)
{
char file[FILENAME_MAX], *cp;
int written;
- value_t *p;
FILE *fp;
/* Read environment variables. */