diff options
author | christos <christos@NetBSD.org> | 1997-10-12 17:45:06 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 1997-10-12 17:45:06 +0000 |
commit | a77b3f8edc13dc6efdbcf80e336689cfa1de08ab (patch) | |
tree | dfe6f38b6473068455b85cd2410d8394e1239336 /monop/rent.c | |
parent | 5526682d8116582745b79bee12e5007abfddcd86 (diff) | |
download | bsdgames-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.c | 15 |
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]; |