diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
commit | 9e81baf8352b3d525c9a1459f28dae6b540988e3 (patch) | |
tree | a558e73187b9d45b59280a79c927e7f8bb315623 /mbbsd/vice.c | |
parent | e42291049072cfee02408394850b33b3580dbd83 (diff) | |
download | pttbbs-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/vice.c')
-rw-r--r-- | mbbsd/vice.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/mbbsd/vice.c b/mbbsd/vice.c index a27e5b21..8b8abe0f 100644 --- a/mbbsd/vice.c +++ b/mbbsd/vice.c @@ -1,15 +1,5 @@ -/* $Id: vice.c,v 1.2 2002/04/28 19:35:29 in2 Exp $ */ -#include <stdio.h> -#include <string.h> -#include <stdlib.h> -#include <unistd.h> -#include <sys/types.h> -#include "config.h" -#include "pttstruct.h" -#include "common.h" -#include "modes.h" -#include "proto.h" -extern int usernum; +/* $Id: vice.c,v 1.3 2002/06/04 13:08:34 in2 Exp $ */ +#include "bbs.h" #define VICE_PLAY BBSHOME "/etc/vice/vice.play" #define VICE_DATA "vice.new" @@ -24,8 +14,6 @@ extern int usernum; #define MAX_LOST_PICTURE 3 #define MAX_END_PICTURE 5 - - static int vice_load(char tbingo[6][15]) { FILE *fb = fopen(VICE_BINGO, "r"); char buf[16], *ptr; @@ -81,7 +69,6 @@ static int ran_showmfile(char *filename, int maxnum) { return more(buf, YEA); } -extern userec_t cuser; int vice_main() { FILE *fd; |