summaryrefslogtreecommitdiff
path: root/usr.bin/rwall
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/rwall
parentf18f6607440f6d2da08fac3522d88a65c77a5f3e (diff)
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/rwall')
-rw-r--r--usr.bin/rwall/rwall.c11
1 files changed, 4 insertions, 7 deletions
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;