diff options
author | dholland <dholland@NetBSD.org> | 2009-08-12 06:19:17 +0000 |
---|---|---|
committer | dholland <dholland@NetBSD.org> | 2009-08-12 06:19:17 +0000 |
commit | 31f496067cd42ce5ff71163efa5921ab6522e4aa (patch) | |
tree | 91bcc67080a700414d760c85ef7a3cd21fb0319b /gomoku/makemove.c | |
parent | 9b4f22d74f6cba399615723bd7b666b854c15788 (diff) | |
download | bsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.tar.gz bsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.tar.zst bsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.zip |
sprinkle static
Diffstat (limited to 'gomoku/makemove.c')
-rw-r--r-- | gomoku/makemove.c | 10 |
1 files changed, 6 insertions, 4 deletions
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; |