summaryrefslogtreecommitdiffstats
path: root/hack/hack.o_init.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 07:28:40 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 07:28:40 +0000
commit8b1c71ee649fb41155da92995044e451c39ea700 (patch)
tree24e74c8d453828689bfeac45e6162912f3c42d76 /hack/hack.o_init.c
parent31f496067cd42ce5ff71163efa5921ab6522e4aa (diff)
downloadbsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.tar.gz
bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.tar.zst
bsdgames-darwin-8b1c71ee649fb41155da92995044e451c39ea700.zip
sprinkle static
Diffstat (limited to 'hack/hack.o_init.c')
-rw-r--r--hack/hack.o_init.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/hack/hack.o_init.c b/hack/hack.o_init.c
index d556203b..804f0a0a 100644
--- a/hack/hack.o_init.c
+++ b/hack/hack.o_init.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.o_init.c,v 1.9 2009/06/07 18:30:39 dholland Exp $ */
+/* $NetBSD: hack.o_init.c,v 1.10 2009/08/12 07:28:41 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.o_init.c,v 1.9 2009/06/07 18:30:39 dholland Exp $");
+__RCSID("$NetBSD: hack.o_init.c,v 1.10 2009/08/12 07:28:41 dholland Exp $");
#endif /* not lint */
#include <string.h>
@@ -72,6 +72,9 @@ __RCSID("$NetBSD: hack.o_init.c,v 1.9 2009/06/07 18:30:39 dholland Exp $");
#include "def.objects.h"
#include "hack.onames.h" /* for LAST_GEM */
+static void setgemprobs(void);
+static int interesting_to_discover(int);
+
int
letindex(int let)
{
@@ -148,7 +151,7 @@ probtype(int let)
return (i);
}
-void
+static void
setgemprobs(void)
{
int j, first;
@@ -232,7 +235,7 @@ dodiscovered(void)
return (0);
}
-int
+static int
interesting_to_discover(int i)
{
return (