summaryrefslogtreecommitdiffstats
path: root/gomoku/bdinit.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/bdinit.c
parent9b4f22d74f6cba399615723bd7b666b854c15788 (diff)
downloadbsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.tar.gz
bsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.tar.zst
bsdgames-darwin-31f496067cd42ce5ff71163efa5921ab6522e4aa.zip
sprinkle static
Diffstat (limited to 'gomoku/bdinit.c')
-rw-r--r--gomoku/bdinit.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gomoku/bdinit.c b/gomoku/bdinit.c
index 93a58f49..9592fe04 100644
--- a/gomoku/bdinit.c
+++ b/gomoku/bdinit.c
@@ -1,4 +1,4 @@
-/* $NetBSD: bdinit.c,v 1.7 2009/06/04 05:43:29 dholland Exp $ */
+/* $NetBSD: bdinit.c,v 1.8 2009/08/12 06:19:17 dholland Exp $ */
/*
* Copyright (c) 1994
@@ -37,13 +37,15 @@
#if 0
static char sccsid[] = "from: @(#)bdinit.c 8.2 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: bdinit.c,v 1.7 2009/06/04 05:43:29 dholland Exp $");
+__RCSID("$NetBSD: bdinit.c,v 1.8 2009/08/12 06:19:17 dholland Exp $");
#endif
#endif /* not lint */
#include <string.h>
#include "gomoku.h"
+static void init_overlap(void);
+
void
bdinit(struct spotstr *bp)
{
@@ -170,7 +172,7 @@ bdinit(struct spotstr *bp)
* As pieces are played, it can make frames not overlap if there are no
* common open spaces shared between the two frames.
*/
-void
+static void
init_overlap(void)
{
struct spotstr *sp1, *sp2;