diff options
| author | jmc <jmc@NetBSD.org> | 2005-07-01 06:04:46 +0000 |
|---|---|---|
| committer | jmc <jmc@NetBSD.org> | 2005-07-01 06:04:46 +0000 |
| commit | 4fe92d1fcdbb2fc53d5d338814045f676c06cc4a (patch) | |
| tree | 9c573af7165124e541518f30ca2b526fbb2fc162 /battlestar/misc.c | |
| parent | cd55bb615f356f190eb2f57ad04366ecece7a545 (diff) | |
| download | bsdgames-darwin-4fe92d1fcdbb2fc53d5d338814045f676c06cc4a.tar.gz bsdgames-darwin-4fe92d1fcdbb2fc53d5d338814045f676c06cc4a.zip | |
KNF and WARNS=3
Diffstat (limited to 'battlestar/misc.c')
| -rw-r--r-- | battlestar/misc.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/battlestar/misc.c b/battlestar/misc.c index 5bcbacb7..f83252d8 100644 --- a/battlestar/misc.c +++ b/battlestar/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.8 2003/08/07 09:37:02 agc Exp $ */ +/* $NetBSD: misc.c,v 1.9 2005/07/01 06:04:54 jmc Exp $ */ /* * Copyright (c) 1983, 1993 @@ -34,16 +34,15 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: misc.c,v 1.8 2003/08/07 09:37:02 agc Exp $"); +__RCSID("$NetBSD: misc.c,v 1.9 2005/07/01 06:04:54 jmc 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; |
