-/* $NetBSD: print.c,v 1.5 1999/08/21 10:40:04 simonb Exp $ */
+/* $NetBSD: print.c,v 1.11 2008/02/24 01:57:34 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
- * 4. Neither the name of the University nor the names of its contributors
+ * 3. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
#if 0
static char sccsid[] = "@(#)print.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: print.c,v 1.5 1999/08/21 10:40:04 simonb Exp $");
+__RCSID("$NetBSD: print.c,v 1.11 2008/02/24 01:57:34 dholland Exp $");
#endif
#endif /* not lint */
-#include "monop.ext"
+#include "monop.h"
-static char *header = "Name Own Price Mg # Rent";
+static const char *header = "Name Own Price Mg # Rent";
-static void printmorg __P((SQUARE *));
+static void printmorg(const SQUARE *);
/*
* This routine prints out the current board
*/
void
-printboard()
+printboard()
{
int i;
* This routine lists where each player is.
*/
void
-where()
+where()
{
int i;
printf("0 %4d", pp->rent[0] * 2);
else
printf("H %4d", pp->rent[5]);
- }
- else
+ } else
printf(" %4d", pp->rent[0]);
break;
case UTIL:
*/
static void
printmorg(sqp)
- SQUARE *sqp;
+ const SQUARE *sqp;
{
if (sqp->desc->morg)
printf(" * ");