-/* $NetBSD: spec.c,v 1.9 2008/02/19 10:47:40 dholland Exp $ */
+/* $NetBSD: spec.c,v 1.11 2012/06/19 05:35:32 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)spec.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: spec.c,v 1.9 2008/02/19 10:47:40 dholland Exp $");
+__RCSID("$NetBSD: spec.c,v 1.11 2012/06/19 05:35:32 dholland Exp $");
#endif
#endif /* not lint */
-#include "monop.ext"
+#include "monop.h"
+#include "deck.h"
static const char *const perc[] = {
"10%", "ten percent", "%", "$200", "200", 0
* collect income tax
*/
void
-inc_tax()
+inc_tax(void)
{
int worth, com_num;
* move player to jail
*/
void
-goto_jail()
+goto_jail(void)
{
cur_p->loc = JAIL;
}
* landing on luxury tax
*/
void
-lux_tax()
+lux_tax(void)
{
printf("You lose $75\n");
cur_p->money -= 75;
* draw community chest card
*/
void
-cc()
+cc(void)
{
get_card(&CC_D);
}
* draw chance card
*/
void
-chance()
+chance(void)
{
get_card(&CH_D);
}