From 4fa17c6f9afc7c76d0350d5d9e5996391aa18137 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 12 Aug 2009 08:21:41 +0000 Subject: sprinkle static --- phantasia/misc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'phantasia/misc.c') 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 -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) -- cgit v1.2.3