summaryrefslogtreecommitdiffstats
path: root/phantasia/gamesupport.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-25 23:08:45 +0000
committerdholland <dholland@NetBSD.org>2009-05-25 23:08:45 +0000
commit28a2fb534d0a6db57738352113f148c57f1078f1 (patch)
treec3c7bfe1d0d779ea9aa7888315f49c8d951b148f /phantasia/gamesupport.c
parentdb71584135fee53a454ac992bfaef83923ef082d (diff)
downloadbsdgames-darwin-28a2fb534d0a6db57738352113f148c57f1078f1.tar.gz
bsdgames-darwin-28a2fb534d0a6db57738352113f148c57f1078f1.tar.zst
bsdgames-darwin-28a2fb534d0a6db57738352113f148c57f1078f1.zip
ANSIfy function declarations. Object file diffs cross-checked.
Diffstat (limited to 'phantasia/gamesupport.c')
-rw-r--r--phantasia/gamesupport.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/phantasia/gamesupport.c b/phantasia/gamesupport.c
index 2bfc67f6..b05f1ff5 100644
--- a/phantasia/gamesupport.c
+++ b/phantasia/gamesupport.c
@@ -1,4 +1,4 @@
-/* $NetBSD: gamesupport.c,v 1.9 2005/02/15 12:58:21 jsm Exp $ */
+/* $NetBSD: gamesupport.c,v 1.10 2009/05/25 23:08:45 dholland Exp $ */
/*
* gamesupport.c - auxiliary routines for support of Phantasia
@@ -9,8 +9,7 @@
#include <curses.h>
void
-changestats(ingameflag)
- phbool ingameflag;
+changestats(phbool ingameflag)
{
static char flag[2] = /* for printing values of bools */
{'F', 'T'};
@@ -440,7 +439,7 @@ BALTER:
}
void
-monstlist()
+monstlist(void)
{
int count = 0; /* count in file */
@@ -454,7 +453,7 @@ monstlist()
}
void
-scorelist()
+scorelist(void)
{
struct scoreboard sbuf; /* for reading entries */
FILE *fp; /* to open the file */
@@ -468,7 +467,7 @@ scorelist()
}
void
-activelist()
+activelist(void)
{
fseek(Playersfp, 0L, SEEK_SET);
printf("Current characters on file are:\n\n");
@@ -482,7 +481,7 @@ activelist()
}
void
-purgeoldplayers()
+purgeoldplayers(void)
{
int today; /* day of year for today */
int daysold; /* how many days since the character has been
@@ -511,7 +510,7 @@ purgeoldplayers()
}
void
-enterscore()
+enterscore(void)
{
struct scoreboard sbuf; /* buffer to read in scoreboard entries */
FILE *fp; /* to open scoreboard file */