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/card.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'mbbsd/card.c') diff --git a/mbbsd/card.c b/mbbsd/card.c index 66aeded8..e5ac18e7 100644 --- a/mbbsd/card.c +++ b/mbbsd/card.c @@ -1,13 +1,5 @@ -/* $Id: card.c,v 1.2 2002/04/28 19:35:28 in2 Exp $ */ -#include -#include -#include -#include "config.h" -#include "pttstruct.h" -#include "common.h" -#include "modes.h" -#include "proto.h" -extern int usernum; +/* $Id: card.c,v 1.3 2002/06/04 13:08:33 in2 Exp $ */ +#include "bbs.h" static int card_remain(int cards[]) { int i, temp = 0; @@ -322,8 +314,6 @@ int card_99() { #define JACK (10) /*¶Â³Ç§JªºTicket*/ #define NINE99 (99) /*99 ªºTicket*/ -extern userec_t cuser; - static int game_log(int type, int money) { FILE *fp; @@ -394,8 +384,6 @@ static int card_alls_upper(int all[]) { return count; } -extern int b_lines; - static int card_jack(int *db) { int i, j; int cpu[5], c[5], me[5], m[5]; -- cgit v1.2.3