summaryrefslogtreecommitdiff
path: root/usr.bin/wall
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 21:59:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 21:59:12 +0000
commitef38a0e957c4e18974e4f95e9ca96458e557c58f (patch)
treefaf2c38d4d78ee3f7c34405b2d21f433984fca46 /usr.bin/wall
parentf1352fa502cddfd41ce2f093a0b44a482e6ec5ad (diff)
more proto fixes
Diffstat (limited to 'usr.bin/wall')
-rw-r--r--usr.bin/wall/ttymsg.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/wall/ttymsg.c b/usr.bin/wall/ttymsg.c
index 7459810918c..928d9676f2a 100644
--- a/usr.bin/wall/ttymsg.c
+++ b/usr.bin/wall/ttymsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ttymsg.c,v 1.12 2003/06/03 02:56:22 millert Exp $ */
+/* $OpenBSD: ttymsg.c,v 1.13 2003/06/26 21:59:10 deraadt Exp $ */
/* $NetBSD: ttymsg.c,v 1.3 1994/11/17 07:17:55 jtc Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static const char sccsid[] = "@(#)ttymsg.c 8.2 (Berkeley) 11/16/93";
#endif
-static const char rcsid[] = "$OpenBSD: ttymsg.c,v 1.12 2003/06/03 02:56:22 millert Exp $";
+static const char rcsid[] = "$OpenBSD: ttymsg.c,v 1.13 2003/06/26 21:59:10 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -50,6 +50,8 @@ static const char rcsid[] = "$OpenBSD: ttymsg.c,v 1.12 2003/06/03 02:56:22 mille
#include <stdlib.h>
#include <sys/stat.h>
+char *ttymsg(struct iovec *, int, char *, int);
+
/*
* Display the contents of a uio structure on a terminal. Used by wall(1),
* syslogd(8), and talkd(8). Forks and finishes in child if write would block,