summaryrefslogtreecommitdiffstats
path: root/monop/spec.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2012-06-19 05:30:43 +0000
committerdholland <dholland@NetBSD.org>2012-06-19 05:30:43 +0000
commit60030fd11e6c646dbc35c5254b2520d5af45288f (patch)
tree2d9c57e3deb2afa23793d42c8ba11c5b98398282 /monop/spec.c
parent98b4affa216164b77e59278a2b1cdc3deee77716 (diff)
downloadbsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.tar.gz
bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.tar.zst
bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.zip
WARNS=5
Diffstat (limited to 'monop/spec.c')
-rw-r--r--monop/spec.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/monop/spec.c b/monop/spec.c
index 3ff323d9..801aa769 100644
--- a/monop/spec.c
+++ b/monop/spec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: spec.c,v 1.10 2008/02/24 01:57:34 dholland Exp $ */
+/* $NetBSD: spec.c,v 1.11 2012/06/19 05:35:32 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)spec.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: spec.c,v 1.10 2008/02/24 01:57:34 dholland Exp $");
+__RCSID("$NetBSD: spec.c,v 1.11 2012/06/19 05:35:32 dholland Exp $");
#endif
#endif /* not lint */
@@ -49,7 +49,7 @@ static const char *const perc[] = {
* collect income tax
*/
void
-inc_tax()
+inc_tax(void)
{
int worth, com_num;
@@ -81,7 +81,7 @@ inc_tax()
* move player to jail
*/
void
-goto_jail()
+goto_jail(void)
{
cur_p->loc = JAIL;
}
@@ -90,7 +90,7 @@ goto_jail()
* landing on luxury tax
*/
void
-lux_tax()
+lux_tax(void)
{
printf("You lose $75\n");
cur_p->money -= 75;
@@ -100,7 +100,7 @@ lux_tax()
* draw community chest card
*/
void
-cc()
+cc(void)
{
get_card(&CC_D);
}
@@ -109,7 +109,7 @@ cc()
* draw chance card
*/
void
-chance()
+chance(void)
{
get_card(&CH_D);
}