summaryrefslogtreecommitdiffstats
path: root/mbbsd/gomo.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 03:34:30 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 03:34:30 +0800
commit6458d8379fc2bf2262ecc55f753aab70ea8a0ac4 (patch)
tree7539b5c2129abbcbdd1238c4f1df0a586538129a /mbbsd/gomo.c
parenteeaadc89e1a1d6e0a704a0f53206398b29d9ecf3 (diff)
downloadpttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar
pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.gz
pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.bz2
pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.lz
pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.xz
pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.tar.zst
pttbbs-6458d8379fc2bf2262ecc55f753aab70ea8a0ac4.zip
remove prototypes of not exist functions
use static keyword for local function git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2048 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/gomo.c')
-rw-r--r--mbbsd/gomo.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/gomo.c b/mbbsd/gomo.c
index 82e9af8f..31583d1d 100644
--- a/mbbsd/gomo.c
+++ b/mbbsd/gomo.c
@@ -64,6 +64,7 @@ chkwin(int style, int limit)
return 0;
}
+static int getstyle(int x, int y, int color, int limit);
/* x,y: 0..BRDSIZ-1 ; color: CBLACK,CWHITE ; limit:1,0 ; dx,dy: 0,1 */
static int
dirchk(int x, int y, int color, int limit, int dx, int dy)
@@ -116,7 +117,7 @@ dirchk(int x, int y, int color, int limit, int dx, int dy)
/* 四三=7 活四=6 斷四=5 死四=4 活三=3 斷三=2 保留=1 無效=0 */
/* x,y: 0..BRDSIZ-1 ; color: CBLACK,CWHITE ; limit: 1,0 */
-int
+static int
getstyle(int x, int y, int color, int limit)
{
int i, j, dir[4], style;
@@ -146,6 +147,7 @@ getstyle(int x, int y, int color, int limit)
}
return style;
}
+
static void
HO_init(Horder_t *pool)
{