summaryrefslogtreecommitdiffstats
path: root/monop/rent.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-10-12 17:45:06 +0000
committerchristos <christos@NetBSD.org>1997-10-12 17:45:06 +0000
commita77b3f8edc13dc6efdbcf80e336689cfa1de08ab (patch)
treedfe6f38b6473068455b85cd2410d8394e1239336 /monop/rent.c
parent5526682d8116582745b79bee12e5007abfddcd86 (diff)
downloadbsdgames-darwin-a77b3f8edc13dc6efdbcf80e336689cfa1de08ab.tar.gz
bsdgames-darwin-a77b3f8edc13dc6efdbcf80e336689cfa1de08ab.tar.zst
bsdgames-darwin-a77b3f8edc13dc6efdbcf80e336689cfa1de08ab.zip
WARNSify
Diffstat (limited to 'monop/rent.c')
-rw-r--r--monop/rent.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/monop/rent.c b/monop/rent.c
index ef915bb8..0269d170 100644
--- a/monop/rent.c
+++ b/monop/rent.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rent.c,v 1.3 1995/03/23 08:35:11 cgd Exp $ */
+/* $NetBSD: rent.c,v 1.4 1997/10/12 17:45:24 christos Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -33,24 +33,27 @@
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)rent.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: rent.c,v 1.3 1995/03/23 08:35:11 cgd Exp $";
+__RCSID("$NetBSD: rent.c,v 1.4 1997/10/12 17:45:24 christos Exp $");
#endif
#endif /* not lint */
-# include "monop.ext"
+#include "monop.ext"
/*
* This routine has the player pay rent
*/
+void
rent(sqp)
-reg SQUARE *sqp; {
+SQUARE *sqp;
+{
- reg int rnt;
- reg PROP *pp;
+ int rnt = 0;
+ PROP *pp;
PLAY *plp;
plp = &play[sqp->owner];