From 6458d8379fc2bf2262ecc55f753aab70ea8a0ac4 Mon Sep 17 00:00:00 2001 From: kcwu Date: Thu, 3 Jun 2004 19:34:30 +0000 Subject: 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 --- mbbsd/gomo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbbsd/gomo.c') 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) { -- cgit v1.2.3