diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-10 07:26:25 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-10 07:26:25 +0000 |
commit | 81fbdc5dca4ba4f9673c612f03fede15c8ad3f91 (patch) | |
tree | bb4eddffc1438ca1405dde0867782c5b37066a26 /games/battlestar/misc.c | |
parent | 123f3b7651527e3cd41a6956ecd641c00442b6c7 (diff) |
more ansi; khalek@linuxgamers.net
Diffstat (limited to 'games/battlestar/misc.c')
-rw-r--r-- | games/battlestar/misc.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/games/battlestar/misc.c b/games/battlestar/misc.c index 24c30a8d3aa..2f9eb4a6f38 100644 --- a/games/battlestar/misc.c +++ b/games/battlestar/misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: misc.c,v 1.6 2003/06/03 03:01:38 millert Exp $ */ +/* $OpenBSD: misc.c,v 1.7 2004/07/10 07:26:22 deraadt Exp $ */ /* $NetBSD: misc.c,v 1.3 1995/03/21 15:07:37 cgd Exp $ */ /* @@ -34,16 +34,15 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.2 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: misc.c,v 1.6 2003/06/03 03:01:38 millert Exp $"; +static char rcsid[] = "$OpenBSD: misc.c,v 1.7 2004/07/10 07:26:22 deraadt Exp $"; #endif #endif /* not lint */ #include "extern.h" +/* for beenthere, injuries */ int -card(array, size) /* for beenthere, injuries */ - const char *array; - int size; +card(const char *array, int size) { const char *end = array + size; int i = 0; @@ -55,8 +54,7 @@ card(array, size) /* for beenthere, injuries */ } int -ucard(array) - const unsigned int *array; +ucard(const unsigned int *array) { int j = 0, n; |