summaryrefslogtreecommitdiffstats
path: root/monop/monop.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2008-02-19 09:45:02 +0000
committerdholland <dholland@NetBSD.org>2008-02-19 09:45:02 +0000
commit360f38c761c19369bd6476bb7558d9b9113c4abf (patch)
tree41888ae80826a7676ef11d7c63db79aca4f2a43d /monop/monop.c
parente2fc204ddc36cdded5693d299f4f5c8b04c464c0 (diff)
downloadbsdgames-darwin-360f38c761c19369bd6476bb7558d9b9113c4abf.tar.gz
bsdgames-darwin-360f38c761c19369bd6476bb7558d9b9113c4abf.tar.zst
bsdgames-darwin-360f38c761c19369bd6476bb7558d9b9113c4abf.zip
KNF/whitespace nits. No functional changes.
Diffstat (limited to 'monop/monop.c')
-rw-r--r--monop/monop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/monop/monop.c b/monop/monop.c
index 1653e136..08509622 100644
--- a/monop/monop.c
+++ b/monop/monop.c
@@ -1,4 +1,4 @@
-/* $NetBSD: monop.c,v 1.16 2007/12/15 19:44:42 perry Exp $ */
+/* $NetBSD: monop.c,v 1.17 2008/02/19 09:45:02 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)monop.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: monop.c,v 1.16 2007/12/15 19:44:42 perry Exp $");
+__RCSID("$NetBSD: monop.c,v 1.17 2008/02/19 09:45:02 dholland Exp $");
#endif
#endif /* not lint */
@@ -110,7 +110,7 @@ getplayers()
blew_it:
for (;;) {
- if ((num_play=get_int("How many players? ")) <= 0 ||
+ if ((num_play = get_int("How many players? ")) <= 0 ||
num_play > MAX_PL)
printf("Sorry. Number must range from 1 to 9\n");
else
@@ -122,7 +122,7 @@ blew_it:
for (i = 0; i < num_play; i++) {
over:
printf("Player %d's name: ", i + 1);
- for (sp = buf; (*sp=getchar()) != '\n'; sp++)
+ for (sp = buf; (*sp = getchar()) != '\n'; sp++)
continue;
if (sp == buf)
goto over;
@@ -188,7 +188,7 @@ again:
* This routine initializes the monopoly structures.
*/
static void
-init_monops()
+init_monops()
{
MON *mp;
int i;