summaryrefslogtreecommitdiffstats
path: root/util/buildir.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-22 10:16:02 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-22 10:16:02 +0800
commit781c220d8e6a5034957473aa308306cc4b7c862f (patch)
tree3a72c18876e32cfb11bf445eb56ed776841bd1b7 /util/buildir.c
parent7571b2c04bf5df4c4937dea135ecc0e076af990f (diff)
downloadpttbbs-781c220d8e6a5034957473aa308306cc4b7c862f.tar
pttbbs-781c220d8e6a5034957473aa308306cc4b7c862f.tar.gz
pttbbs-781c220d8e6a5034957473aa308306cc4b7c862f.tar.bz2
pttbbs-781c220d8e6a5034957473aa308306cc4b7c862f.tar.lz
pttbbs-781c220d8e6a5034957473aa308306cc4b7c862f.tar.xz
pttbbs-781c220d8e6a5034957473aa308306cc4b7c862f.tar.zst
pttbbs-781c220d8e6a5034957473aa308306cc4b7c862f.zip
merge back from fav4 braches
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/buildir.c')
-rw-r--r--util/buildir.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/util/buildir.c b/util/buildir.c
index e6b7f9d2..573a0178 100644
--- a/util/buildir.c
+++ b/util/buildir.c
@@ -1,17 +1,5 @@
/* $Id$ */
-#include <stdio.h>
-#include <stdlib.h>
-#include <dirent.h>
-#include <fcntl.h>
-#include <time.h>
-#include <string.h>
-#include <unistd.h>
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "config.h"
-#include "pttstruct.h"
-#include "proto.h"
+#include "bbs.h"
int dirselect(struct dirent *dir) {
return strchr("MDSGH", dir->d_name[0]) && dir->d_name[1] == '.';