summaryrefslogtreecommitdiff
path: root/usr.bin/talk/io.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-10 22:20:55 +0000
commitb8aaa8bec8414f8e55cf9b61fe0873d242c773b8 (patch)
tree5e43016c4fae834239fd38972fd58355ed6b54b5 /usr.bin/talk/io.c
parentf18f6607440f6d2da08fac3522d88a65c77a5f3e (diff)
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/talk/io.c')
-rw-r--r--usr.bin/talk/io.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/talk/io.c b/usr.bin/talk/io.c
index a36a80854e9..d90b77d2705 100644
--- a/usr.bin/talk/io.c
+++ b/usr.bin/talk/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.12 2003/06/03 02:56:17 millert Exp $ */
+/* $OpenBSD: io.c,v 1.13 2003/06/10 22:20:53 deraadt Exp $ */
/* $NetBSD: io.c,v 1.4 1994/12/09 02:14:20 jtc Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 6/6/93";
#endif
-static char rcsid[] = "$OpenBSD: io.c,v 1.12 2003/06/03 02:56:17 millert Exp $";
+static char rcsid[] = "$OpenBSD: io.c,v 1.13 2003/06/10 22:20:53 deraadt Exp $";
#endif /* not lint */
/*
@@ -58,7 +58,7 @@ volatile sig_atomic_t gotwinch = 0;
* The routine to do the actual talking
*/
void
-talk()
+talk(void)
{
fd_set read_template, read_set;
int nb;
@@ -129,8 +129,7 @@ talk()
* Display string in the standard location
*/
void
-message(string)
- char *string;
+message(char *string)
{
wmove(my_win.x_win, current_line % my_win.x_nlines, 0);
wprintw(my_win.x_win, "[%s]", string);