diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-09 15:59:27 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-09 15:59:27 +0000 |
commit | c1b01e7eebe1d3206f4204776b105318b0b7b8bc (patch) | |
tree | 940af30a6f1a9912227868afece1c2d1b1091dff /games/bcd/bcd.c | |
parent | fe859c06cf60db912ac03d66f1dc8d70b91bd189 (diff) |
ansi; khalek@linuxgamers.net
Diffstat (limited to 'games/bcd/bcd.c')
-rw-r--r-- | games/bcd/bcd.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/games/bcd/bcd.c b/games/bcd/bcd.c index 05da17e09a1..063ddd940d7 100644 --- a/games/bcd/bcd.c +++ b/games/bcd/bcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bcd.c,v 1.10 2003/07/10 00:03:01 david Exp $ */ +/* $OpenBSD: bcd.c,v 1.11 2004/07/09 15:59:26 deraadt Exp $ */ /* $NetBSD: bcd.c,v 1.6 1995/04/24 12:22:23 cgd Exp $ */ /* @@ -43,7 +43,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)bcd.c 8.2 (Berkeley) 3/20/94"; #else -static char rcsid[] = "$OpenBSD: bcd.c,v 1.10 2003/07/10 00:03:01 david Exp $"; +static char rcsid[] = "$OpenBSD: bcd.c,v 1.11 2004/07/09 15:59:26 deraadt Exp $"; #endif #endif /* not lint */ @@ -127,9 +127,7 @@ u_short holes[256] = { void printcard(char *); int -main(argc, argv) - int argc; - char **argv; +main(int argc, char *argv[]) { char cardline[80]; @@ -150,8 +148,7 @@ main(argc, argv) #define COLUMNS 48 void -printcard(str) - char *str; +printcard(char *str) { static const char rowchars[] = " 123456789"; int i, row; |