diff options
author | dholland <dholland@NetBSD.org> | 2012-06-19 05:30:43 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2012-06-19 05:30:43 +0000 |
commit | 60030fd11e6c646dbc35c5254b2520d5af45288f (patch) | |
tree | 2d9c57e3deb2afa23793d42c8ba11c5b98398282 /monop/print.c | |
parent | 98b4affa216164b77e59278a2b1cdc3deee77716 (diff) | |
download | bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.tar.gz bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.tar.zst bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.zip |
WARNS=5
Diffstat (limited to 'monop/print.c')
-rw-r--r-- | monop/print.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/monop/print.c b/monop/print.c index 2b0cc42d..4b7b662d 100644 --- a/monop/print.c +++ b/monop/print.c @@ -1,4 +1,4 @@ -/* $NetBSD: print.c,v 1.12 2008/02/24 03:56:49 christos Exp $ */ +/* $NetBSD: print.c,v 1.13 2012/06/19 05:35:32 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.12 2008/02/24 03:56:49 christos Exp $"); +__RCSID("$NetBSD: print.c,v 1.13 2012/06/19 05:35:32 dholland Exp $"); #endif #endif /* not lint */ @@ -48,7 +48,7 @@ static void printmorg(const SQUARE *); * This routine prints out the current board */ void -printboard() +printboard(void) { int i; @@ -64,7 +64,7 @@ printboard() * This routine lists where each player is. */ void -where() +where(void) { int i; @@ -160,8 +160,7 @@ printsq(int sqn, bool eoln) * This routine prints out the mortgage flag. */ static void -printmorg(sqp) - const SQUARE *sqp; +printmorg(const SQUARE *sqp) { if (sqp->desc->morg) printf(" * "); @@ -173,8 +172,7 @@ printmorg(sqp) * This routine lists the holdings of the player given */ void -printhold(pl) - int pl; +printhold(int pl) { OWN *op; PLAY *pp; |