diff options
Diffstat (limited to 'games/random/random.c')
-rw-r--r-- | games/random/random.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/games/random/random.c b/games/random/random.c index 305f8a2d58d..e534b46e7cb 100644 --- a/games/random/random.c +++ b/games/random/random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: random.c,v 1.9 2003/06/03 03:01:40 millert Exp $ */ +/* $OpenBSD: random.c,v 1.10 2004/07/10 07:26:24 deraadt Exp $ */ /* $NetBSD: random.c,v 1.3 1995/04/22 07:44:05 cgd Exp $ */ /* @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)random.c 8.5 (Berkeley) 4/5/94"; #else -static char rcsid[] = "$OpenBSD: random.c,v 1.9 2003/06/03 03:01:40 millert Exp $"; +static char rcsid[] = "$OpenBSD: random.c,v 1.10 2004/07/10 07:26:24 deraadt Exp $"; #endif #endif /* not lint */ @@ -62,9 +62,7 @@ static char rcsid[] = "$OpenBSD: random.c,v 1.9 2003/06/03 03:01:40 millert Exp void usage(void); int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { double denom; int ch, random_exit, selected, unbuffer_output; @@ -141,7 +139,7 @@ main(argc, argv) } void -usage() +usage(void) { (void)fprintf(stderr, "usage: random [-er] [denominator]\n"); |