summaryrefslogtreecommitdiff
path: root/usr.bin/colrm/colrm.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/colrm/colrm.c
parentf18f6607440f6d2da08fac3522d88a65c77a5f3e (diff)
mostly ansi cleanup; pval ok
Diffstat (limited to 'usr.bin/colrm/colrm.c')
-rw-r--r--usr.bin/colrm/colrm.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/usr.bin/colrm/colrm.c b/usr.bin/colrm/colrm.c
index eb64238a95a..abc50882b3b 100644
--- a/usr.bin/colrm/colrm.c
+++ b/usr.bin/colrm/colrm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: colrm.c,v 1.7 2003/06/03 02:56:07 millert Exp $ */
+/* $OpenBSD: colrm.c,v 1.8 2003/06/10 22:20:45 deraadt Exp $ */
/* $NetBSD: colrm.c,v 1.4 1995/09/02 05:51:37 jtc Exp $ */
/*-
@@ -40,7 +40,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)colrm.c 8.2 (Berkeley) 5/4/95";
#endif
-static char rcsid[] = "$OpenBSD: colrm.c,v 1.7 2003/06/03 02:56:07 millert Exp $";
+static char rcsid[] = "$OpenBSD: colrm.c,v 1.8 2003/06/10 22:20:45 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -59,9 +59,7 @@ void check(FILE *);
void usage(void);
int
-main(argc, argv)
- int argc;
- char *argv[];
+main(int argc, char *argv[])
{
u_long column, start, stop;
int ch;
@@ -124,8 +122,7 @@ main(argc, argv)
}
void
-check(stream)
- FILE *stream;
+check(FILE *stream)
{
if (feof(stream))
exit(0);
@@ -134,7 +131,7 @@ check(stream)
}
void
-usage()
+usage(void)
{
(void)fprintf(stderr, "usage: colrm [start [stop]]\n");
exit(1);