summaryrefslogtreecommitdiffstats
path: root/monop/jail.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/jail.c
parent98b4affa216164b77e59278a2b1cdc3deee77716 (diff)
downloadbsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.tar.gz
bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.tar.zst
bsdgames-darwin-60030fd11e6c646dbc35c5254b2520d5af45288f.zip
WARNS=5
Diffstat (limited to 'monop/jail.c')
-rw-r--r--monop/jail.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/monop/jail.c b/monop/jail.c
index 917b7a0a..62b9ea0b 100644
--- a/monop/jail.c
+++ b/monop/jail.c
@@ -1,4 +1,4 @@
-/* $NetBSD: jail.c,v 1.9 2008/02/24 01:57:34 dholland Exp $ */
+/* $NetBSD: jail.c,v 1.10 2012/06/19 05:35:32 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)jail.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: jail.c,v 1.9 2008/02/24 01:57:34 dholland Exp $");
+__RCSID("$NetBSD: jail.c,v 1.10 2012/06/19 05:35:32 dholland Exp $");
#endif
#endif /* not lint */
@@ -45,7 +45,7 @@ __RCSID("$NetBSD: jail.c,v 1.9 2008/02/24 01:57:34 dholland Exp $");
* player out of jail.
*/
void
-card()
+card(void)
{
if (cur_p->loc != JAIL) {
printf("But you're not IN Jail\n");
@@ -64,7 +64,7 @@ card()
* This routine deals with paying your way out of jail.
*/
void
-pay()
+pay(void)
{
if (cur_p->loc != JAIL) {
printf("But you're not IN Jail\n");
@@ -80,8 +80,7 @@ pay()
* This routine deals with a move in jail
*/
int
-move_jail(r1, r2)
- int r1, r2;
+move_jail(int r1, int r2)
{
if (r1 != r2) {
printf("Sorry, that doesn't get you out\n");
@@ -104,7 +103,7 @@ moveit:
}
void
-printturn()
+printturn(void)
{
if (cur_p->loc != JAIL)
return;