summaryrefslogtreecommitdiffstats
path: root/gomoku/stoc.c
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 06:19:17 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 06:19:17 +0000
commit31f496067cd42ce5ff71163efa5921ab6522e4aa (patch)
tree91bcc67080a700414d760c85ef7a3cd21fb0319b /gomoku/stoc.c
parent9b4f22d74f6cba399615723bd7b666b854c15788 (diff)
downloadbsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.tar.gz
bsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.tar.zst
bsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.zip
sprinkle static
Diffstat (limited to 'gomoku/stoc.c')
-rw-r--r--gomoku/stoc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gomoku/stoc.c b/gomoku/stoc.c
index 58e8fc90..c7b1eff8 100644
--- a/gomoku/stoc.c
+++ b/gomoku/stoc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: stoc.c,v 1.11 2009/06/04 05:51:12 dholland Exp $ */
+/* $NetBSD: stoc.c,v 1.12 2009/08/12 06:19:17 dholland Exp $ */
/*
* Copyright (c) 1994
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)stoc.c 8.1 (Berkeley) 7/24/94";
#else
-__RCSID("$NetBSD: stoc.c,v 1.11 2009/06/04 05:51:12 dholland Exp $");
+__RCSID("$NetBSD: stoc.c,v 1.12 2009/08/12 06:19:17 dholland Exp $");
#endif
#endif /* not lint */
@@ -59,6 +59,9 @@ static const struct mvstr mv[] = {
{ -1, 0 }
};
+static int lton(int);
+
+
/*
* Turn the spot number form of a move into the character form.
*/
@@ -97,7 +100,7 @@ ctos(const char *mp)
/*
* Turn a letter into a number.
*/
-int
+static int
lton(int c)
{
int i;