From 61a235f9c8a332df14e8fe40b7b1fcaa98ecc548 Mon Sep 17 00:00:00 2001 From: lukem Date: Sat, 11 Oct 1997 02:06:55 +0000 Subject: KNFify (with indent) --- battlestar/misc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'battlestar/misc.c') diff --git a/battlestar/misc.c b/battlestar/misc.c index 2748cf80..dacba04d 100644 --- a/battlestar/misc.c +++ b/battlestar/misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: misc.c,v 1.5 1997/10/10 11:40:04 lukem Exp $ */ +/* $NetBSD: misc.c,v 1.6 1997/10/11 02:07:27 lukem Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,19 +38,19 @@ #if 0 static char sccsid[] = "@(#)misc.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: misc.c,v 1.5 1997/10/10 11:40:04 lukem Exp $"); +__RCSID("$NetBSD: misc.c,v 1.6 1997/10/11 02:07:27 lukem Exp $"); #endif -#endif /* not lint */ +#endif /* not lint */ #include "extern.h" int card(array, size) /* for beenthere, injuries */ - char *array; - int size; + char *array; + int size; { - char *end = array + size; - int i = 0; + char *end = array + size; + int i = 0; while (array < end) if (*array++) @@ -62,10 +62,10 @@ int ucard(array) unsigned int *array; { - int j = 0, n; + int j = 0, n; for (n = 0; n < NUMOFOBJECTS; n++) if (testbit(array, n)) - j++; + j++; return (j); } -- cgit v1.2.3