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/indict.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'mbbsd/indict.c') diff --git a/mbbsd/indict.c b/mbbsd/indict.c index 51e20590..8861b320 100644 --- a/mbbsd/indict.c +++ b/mbbsd/indict.c @@ -1,20 +1,10 @@ -/* $Id: indict.c,v 1.2 2002/04/28 19:35:29 in2 Exp $ */ -#include -#include -#include -#include "config.h" -#include "pttstruct.h" -#include "perm.h" -#include "common.h" -#include "modes.h" -#include "proto.h" +/* $Id: indict.c,v 1.3 2002/06/04 13:08:33 in2 Exp $ */ +#include "bbs.h" #define REFER "etc/dicts" -extern userec_t cuser; -char dict[41],database[41]; - -static void addword(char word[]) { +static void addword(char word[]) +{ char buf[150],temp[150],a[3]; FILE *fp = fopen(database,"r+"); -- cgit v1.2.3