From 31f496067cd42ce5ff71163efa5921ab6522e4aa Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 12 Aug 2009 06:19:17 +0000 Subject: sprinkle static --- gomoku/makemove.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gomoku/makemove.c') diff --git a/gomoku/makemove.c b/gomoku/makemove.c index c483aa9d..28ad355a 100644 --- a/gomoku/makemove.c +++ b/gomoku/makemove.c @@ -1,4 +1,4 @@ -/* $NetBSD: makemove.c,v 1.10 2009/06/04 05:43:29 dholland Exp $ */ +/* $NetBSD: makemove.c,v 1.11 2009/08/12 06:19:17 dholland Exp $ */ /* * Copyright (c) 1994 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)makemove.c 8.2 (Berkeley) 5/3/95"; #else -__RCSID("$NetBSD: makemove.c,v 1.10 2009/06/04 05:43:29 dholland Exp $"); +__RCSID("$NetBSD: makemove.c,v 1.11 2009/08/12 06:19:17 dholland Exp $"); #endif #endif /* not lint */ @@ -48,7 +48,9 @@ const int dd[4] = { MRIGHT, MRIGHT+MDOWN, MDOWN, MDOWN+MLEFT }; -const int weight[5] = { 0, 1, 7, 22, 100 }; +static const int weight[5] = { 0, 1, 7, 22, 100 }; + +static void update_overlap(struct spotstr *); /* * Return values: @@ -215,7 +217,7 @@ makemove(int us, int mv) /* * fix up the overlap array due to updating spot osp. */ -void +static void update_overlap(struct spotstr *osp) { struct spotstr *sp, *sp1, *sp2; -- cgit v1.2.3