From b8aaa8bec8414f8e55cf9b61fe0873d242c773b8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 10 Jun 2003 22:20:55 +0000 Subject: mostly ansi cleanup; pval ok --- usr.bin/talk/io.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'usr.bin/talk/io.c') 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); -- cgit v1.2.3