summaryrefslogtreecommitdiffstats
path: root/adventure/wizard.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 04:28:27 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 04:28:27 +0000
commit63e571cca69e7558ecb2d0e2e654eff896c0ac62 (patch)
tree0141582e34f580554ecc15ffc8b4517ada70fc50 /adventure/wizard.c
parent2dc7494ef4aeb144d0da0b9bdbcfeba12073e5e3 (diff)
downloadbsdgames-darwin-63e571cca69e7558ecb2d0e2e654eff896c0ac62.tar.gz
bsdgames-darwin-63e571cca69e7558ecb2d0e2e654eff896c0ac62.tar.zst
bsdgames-darwin-63e571cca69e7558ecb2d0e2e654eff896c0ac62.zip
sprinkle static
Diffstat (limited to 'adventure/wizard.c')
-rw-r--r--adventure/wizard.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/adventure/wizard.c b/adventure/wizard.c
index a63aa069..c0819ffa 100644
--- a/adventure/wizard.c
+++ b/adventure/wizard.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wizard.c,v 1.12 2005/07/01 00:03:36 jmc Exp $ */
+/* $NetBSD: wizard.c,v 1.13 2009/08/12 04:28:27 dholland Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)wizard.c 8.1 (Berkeley) 6/2/93";
#else
-__RCSID("$NetBSD: wizard.c,v 1.12 2005/07/01 00:03:36 jmc Exp $");
+__RCSID("$NetBSD: wizard.c,v 1.13 2009/08/12 04:28:27 dholland Exp $");
#endif
#endif /* not lint */
@@ -52,6 +52,8 @@ __RCSID("$NetBSD: wizard.c,v 1.12 2005/07/01 00:03:36 jmc Exp $");
#include "hdr.h"
#include "extern.h"
+static int wizard(void);
+
void
datime(int *d, int *t)
{
@@ -71,7 +73,7 @@ datime(int *d, int *t)
} /* pretty painless */
-char magic[6];
+static char magic[6];
void
poof(void)
@@ -109,7 +111,7 @@ Start(void)
}
/* not as complex as advent/10 (for now) */
-int
+static int
wizard(void)
{
char *word, *x;