A few more whitespace/KNF. I keep hoping I've found them all...

This commit is contained in:
dholland 2008-02-20 05:08:46 +00:00
parent 1958cbf73e
commit 32e86dd423
4 changed files with 14 additions and 17 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: monop.def,v 1.10 2008/02/19 09:25:21 dholland Exp $ */
/* $NetBSD: monop.def,v 1.11 2008/02/20 05:08:46 dholland Exp $ */
/*-
* Copyright (c) 1980, 1993
@ -106,13 +106,13 @@ RR_S rr[N_RR]; /* railroad descriptions */
UTIL_S util[2]; /* utility descriptions */
MON mon[N_MON] = { /* monopoly descriptions */
# include "mon.dat"
#include "mon.dat"
};
PROP prop[N_PROP] = { /* typical properties */
# include "prop.dat"
#include "prop.dat"
};
SQUARE board[N_SQRS+1] = { /* board itself (+1 for Jail) */
# include "brd.dat"
#include "brd.dat"
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: morg.c,v 1.13 2008/02/19 09:45:02 dholland Exp $ */
/* $NetBSD: morg.c,v 1.14 2008/02/20 05:08:46 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)morg.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: morg.c,v 1.13 2008/02/19 09:45:02 dholland Exp $");
__RCSID("$NetBSD: morg.c,v 1.14 2008/02/20 05:08:46 dholland Exp $");
#endif
#endif /* not lint */
@ -66,7 +66,7 @@ static const char *names[MAX_PRP+2],
static short square[MAX_PRP+2];
static int num_good,got_houses;
static int num_good, got_houses;
static int set_mlist(void);

View File

@ -1,4 +1,4 @@
/* $NetBSD: print.c,v 1.9 2008/02/19 09:45:02 dholland Exp $ */
/* $NetBSD: print.c,v 1.10 2008/02/20 05:08:46 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: print.c,v 1.9 2008/02/19 09:45:02 dholland Exp $");
__RCSID("$NetBSD: print.c,v 1.10 2008/02/20 05:08:46 dholland Exp $");
#endif
#endif /* not lint */
@ -123,8 +123,7 @@ printsq(sqn, eoln)
printf("0 %4d", pp->rent[0] * 2);
else
printf("H %4d", pp->rent[5]);
}
else
} else
printf(" %4d", pp->rent[0]);
break;
case UTIL:

View File

@ -1,4 +1,4 @@
/* $NetBSD: prop.c,v 1.14 2008/02/19 09:45:02 dholland Exp $ */
/* $NetBSD: prop.c,v 1.15 2008/02/20 05:08:46 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)prop.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: prop.c,v 1.14 2008/02/19 09:45:02 dholland Exp $");
__RCSID("$NetBSD: prop.c,v 1.15 2008/02/20 05:08:46 dholland Exp $");
#endif
#endif /* not lint */
@ -159,8 +159,7 @@ value(sqp)
}
/*
* This routine accepts bids for the current peice
* of property.
* This routine accepts bids for the current piece of property.
*/
void
bid()
@ -187,8 +186,7 @@ bid()
in[i] = FALSE;
if (--num_in == 0)
break;
}
else if (cur_bid <= cur_max) {
} else if (cur_bid <= cur_max) {
printf("You must bid higher than %d "
"to stay in\n", cur_max);
printf("(bid of 0 drops you out)\n");