diff options
Diffstat (limited to 'usr.bin/rev')
-rw-r--r-- | usr.bin/rev/rev.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/rev/rev.c b/usr.bin/rev/rev.c index 30c797dc344..420a916415b 100644 --- a/usr.bin/rev/rev.c +++ b/usr.bin/rev/rev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rev.c,v 1.6 2003/06/03 02:56:15 millert Exp $ */ +/* $OpenBSD: rev.c,v 1.7 2003/06/10 22:20:50 deraadt Exp $ */ /* $NetBSD: rev.c,v 1.5 1995/09/28 08:49:40 tls Exp $ */ /*- @@ -40,7 +40,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)rev.c 8.3 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: rev.c,v 1.6 2003/06/03 02:56:15 millert Exp $"; +static char rcsid[] = "$OpenBSD: rev.c,v 1.7 2003/06/10 22:20:50 deraadt Exp $"; #endif #endif /* not lint */ @@ -56,9 +56,7 @@ static char rcsid[] = "$OpenBSD: rev.c,v 1.6 2003/06/03 02:56:15 millert Exp $"; void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { char *filename, *p, *t; FILE *fp; @@ -106,7 +104,7 @@ main(argc, argv) } void -usage() +usage(void) { (void)fprintf(stderr, "usage: rev [file ...]\n"); exit(1); |