From 9e81baf8352b3d525c9a1459f28dae6b540988e3 Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 4 Jun 2002 13:08:35 +0000 Subject: global variable move to var.c git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/dark.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'mbbsd/dark.c') diff --git a/mbbsd/dark.c b/mbbsd/dark.c index ee691577..9cf99aab 100644 --- a/mbbsd/dark.c +++ b/mbbsd/dark.c @@ -1,19 +1,8 @@ -/* $Id: dark.c,v 1.3 2002/05/13 03:20:04 ptt Exp $ */ -#include -#include -#include -#include -#include -#include -#include -#include "config.h" -#include "pttstruct.h" -#include "common.h" -#include "proto.h" +/* $Id: dark.c,v 1.4 2002/06/04 13:08:33 in2 Exp $ */ +#include "bbs.h" #define RED 1 #define BLACK 0 -extern time_t now; typedef short int sint; typedef struct item { @@ -26,7 +15,6 @@ typedef struct cur{ static item brd[4][8]; static cur curr; /* 6 個 bytes */ -extern userinfo_t *currutmp; static char *rname[]={"兵","炮","傌","車","相","仕","帥"}; static char *bname[]={"卒","包","馬","車","象","士","將"}; -- cgit v1.2.3