summaryrefslogtreecommitdiffstats
path: root/mbbsd/chc_draw.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-04 21:08:35 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-04 21:08:35 +0800
commit9e81baf8352b3d525c9a1459f28dae6b540988e3 (patch)
treea558e73187b9d45b59280a79c927e7f8bb315623 /mbbsd/chc_draw.c
parente42291049072cfee02408394850b33b3580dbd83 (diff)
downloadpttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.gz
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.bz2
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.lz
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.xz
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.zst
pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.zip
global variable move to var.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/chc_draw.c')
-rw-r--r--mbbsd/chc_draw.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/mbbsd/chc_draw.c b/mbbsd/chc_draw.c
index b3bd216f..bb9a15a9 100644
--- a/mbbsd/chc_draw.c
+++ b/mbbsd/chc_draw.c
@@ -1,10 +1,5 @@
-/* $Id: chc_draw.c,v 1.1 2002/03/07 15:13:48 in2 Exp $ */
-#include <stdio.h>
-#include <sys/types.h>
-#include "config.h"
-#include "pttstruct.h"
-#include "common.h"
-#include "proto.h"
+/* $Id: chc_draw.c,v 1.2 2002/06/04 13:08:33 in2 Exp $ */
+#include "bbs.h"
#define SIDE_ROW 10
#define TURN_ROW 11
@@ -14,12 +9,6 @@
#define MYWIN_ROW 17
#define HISWIN_ROW 18
-extern char chc_warnmsg[64], *chc_mateid;
-extern rc_t chc_from, chc_to, chc_select;
-extern int chc_selected, chc_my, chc_turn, chc_firststep;
-extern int chc_lefttime;
-extern int chc_hiswin, chc_hislose, chc_histie;
-
static char *turn_str[2] = {"¶Âªº", "¬õªº"};
static char *num_str[10] = {
@@ -104,8 +93,6 @@ static void showstep(board_t board) {
prints("\033[m");
}
-extern userec_t cuser;
-
void chc_drawline(board_t board, int line) {
int i, j;