summaryrefslogtreecommitdiffstats
path: root/phantasia/misc.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 08:21:41 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 08:21:41 +0000
commit4fa17c6f9afc7c76d0350d5d9e5996391aa18137 (patch)
treedf25abab941a9c4156963af474b6ba2a96023025 /phantasia/misc.c
parent8916e2056e90ba2c157dfd2b98fb48837d565646 (diff)
downloadbsdgames-darwin-4fa17c6f9afc7c76d0350d5d9e5996391aa18137.tar.gz
bsdgames-darwin-4fa17c6f9afc7c76d0350d5d9e5996391aa18137.tar.zst
bsdgames-darwin-4fa17c6f9afc7c76d0350d5d9e5996391aa18137.zip
sprinkle static
Diffstat (limited to 'phantasia/misc.c')
-rw-r--r--phantasia/misc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/phantasia/misc.c b/phantasia/misc.c
index 881f4cc4..48909029 100644
--- a/phantasia/misc.c
+++ b/phantasia/misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.17 2009/05/25 23:14:33 dholland Exp $ */
+/* $NetBSD: misc.c,v 1.18 2009/08/12 08:21:41 dholland Exp $ */
/*
* misc.c Phantasia miscellaneous support routines
@@ -9,7 +9,9 @@
#include <curses.h>
-void
+static double explevel(double);
+
+static void
movelevel(void)
{
const struct charstats *statptr; /* for pointing into Stattable */
@@ -682,7 +684,7 @@ writerecord(struct player *playerp, long place)
fflush(Playersfp);
}
-double
+static double
explevel(double experience)
{
if (experience < 1.1e7)