diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-11-29 08:52:30 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2004-11-29 08:52:30 +0000 |
commit | 9f35ef98a75e416220366f7f6ac0f8864d6239fb (patch) | |
tree | a3cc1c29744d5270e4662e30a4a7b7d0158c77ed /games/grdc | |
parent | 0e91e5b94fb68ab00eed960bad30f73eba33c15b (diff) |
ansi. ok deraadt@
Diffstat (limited to 'games/grdc')
-rw-r--r-- | games/grdc/grdc.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/games/grdc/grdc.c b/games/grdc/grdc.c index 33974fb4754..8cf7f825e24 100644 --- a/games/grdc/grdc.c +++ b/games/grdc/grdc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grdc.c,v 1.12 2002/07/26 20:32:38 pjanzen Exp $ */ +/* $OpenBSD: grdc.c,v 1.13 2004/11/29 08:52:28 jsg Exp $ */ /* * * Copyright 2002 Amos Shapir. Public domain. @@ -45,16 +45,13 @@ void movto(int, int); void usage(void); void -sighndl(signo) - int signo; +sighndl(int signo) { sigtermed=signo; } int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { long t, a; int i, j, s, k; @@ -238,7 +235,7 @@ movto(int line, int col) } void -usage() +usage(void) { (void)fprintf(stderr, "usage: grdc [-s] [number_of_seconds]\n"); exit(1); |