From 31f496067cd42ce5ff71163efa5921ab6522e4aa Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 12 Aug 2009 06:19:17 +0000 Subject: sprinkle static --- gomoku/stoc.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gomoku/stoc.c') 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; -- cgit v1.2.3