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/record.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/record.c')
-rw-r--r-- | mbbsd/record.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/mbbsd/record.c b/mbbsd/record.c index 2f82b372..a29988b7 100644 --- a/mbbsd/record.c +++ b/mbbsd/record.c @@ -1,23 +1,9 @@ -/* $Id: record.c,v 1.4 2002/05/13 03:20:04 ptt Exp $ */ -#include <stdio.h> -#include <stdlib.h> -#include <errno.h> -#include <string.h> -#include <unistd.h> -#include <time.h> -#include <sys/types.h> -#include <sys/stat.h> -#include <sys/file.h> -#include "config.h" -#include "pttstruct.h" -#include "modes.h" -#include "proto.h" +/* $Id: record.c,v 1.5 2002/06/04 13:08:34 in2 Exp $ */ +#include "bbs.h" #undef HAVE_MMAP #define BUFSIZE 512 -extern char *str_reply; -extern time_t now; static void PttLock(int fd, int size, int mode) { static struct flock lock_it; int ret; @@ -209,7 +195,6 @@ int delete_range(char *fpath, int id1, int id2) { char fullpath[STRLEN], *t; int fdr, fdw, fd; int count; - extern int Tagger(); nolfilename(&my, fpath); |