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/rwall/rwall.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'usr.bin/rwall') diff --git a/usr.bin/rwall/rwall.c b/usr.bin/rwall/rwall.c index e1b7e57a188..391f8bdafec 100644 --- a/usr.bin/rwall/rwall.c +++ b/usr.bin/rwall/rwall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rwall.c,v 1.7 2003/06/03 02:56:15 millert Exp $ */ +/* $OpenBSD: rwall.c,v 1.8 2003/06/10 22:20:50 deraadt Exp $ */ /* * Copyright (c) 1993 Christopher G. Demetriou @@ -38,7 +38,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)wall.c 5.14 (Berkeley) 3/2/91";*/ -static char rcsid[] = "$OpenBSD: rwall.c,v 1.7 2003/06/03 02:56:15 millert Exp $"; +static char rcsid[] = "$OpenBSD: rwall.c,v 1.8 2003/06/10 22:20:50 deraadt Exp $"; #endif /* not lint */ /* @@ -67,9 +67,7 @@ char *mbuf; void makemsg (); int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { char *wallhost, res; CLIENT *cl; @@ -111,8 +109,7 @@ main(argc, argv) } void -makemsg(fname) - char *fname; +makemsg(char *fname) { struct tm *lt; struct passwd *pw; -- cgit v1.2.3