-/* $NetBSD: print.c,v 1.8 2004/01/27 20:30:30 jsm Exp $ */
+/* $NetBSD: print.c,v 1.13 2012/06/19 05:35:32 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: print.c,v 1.8 2004/01/27 20:30:30 jsm Exp $");
+__RCSID("$NetBSD: print.c,v 1.13 2012/06/19 05:35:32 dholland Exp $");
#endif
#endif /* not lint */
-#include "monop.ext"
+#include "monop.h"
static const char *header = "Name Own Price Mg # Rent";
* This routine prints out the current board
*/
void
-printboard()
+printboard(void)
{
int i;
* This routine lists where each player is.
*/
void
-where()
+where(void)
{
int i;
* This routine prints out an individual square
*/
void
-printsq(sqn, eoln)
- int sqn;
- bool eoln;
+printsq(int sqn, bool eoln)
{
int rnt;
PROP *pp;
printf("0 %4d", pp->rent[0] * 2);
else
printf("H %4d", pp->rent[5]);
- }
- else
+ } else
printf(" %4d", pp->rent[0]);
break;
case UTIL:
* This routine prints out the mortgage flag.
*/
static void
-printmorg(sqp)
- const SQUARE *sqp;
+printmorg(const SQUARE *sqp)
{
if (sqp->desc->morg)
printf(" * ");
* This routine lists the holdings of the player given
*/
void
-printhold(pl)
- int pl;
+printhold(int pl)
{
OWN *op;
PLAY *pp;