summaryrefslogtreecommitdiffstats
path: root/common/bbs
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-08-04 11:28:03 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-08-04 11:28:03 +0800
commit3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f (patch)
tree0f02d2f3430a3a4c83e065be714911e6692973a2 /common/bbs
parent0e2472de4ee9255a0c26b8cffdbeedb886d57c68 (diff)
downloadpttbbs-3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f.tar
pttbbs-3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f.tar.gz
pttbbs-3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f.tar.bz2
pttbbs-3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f.tar.lz
pttbbs-3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f.tar.xz
pttbbs-3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f.tar.zst
pttbbs-3cfbc9d6e1b548904c323e8c9a782ca0e82e1c4f.zip
Use file_exist_record directly
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4392 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'common/bbs')
-rw-r--r--common/bbs/Makefile2
-rw-r--r--common/bbs/file.c9
2 files changed, 1 insertions, 10 deletions
diff --git a/common/bbs/Makefile b/common/bbs/Makefile
index 458a01e6..d06df6a3 100644
--- a/common/bbs/Makefile
+++ b/common/bbs/Makefile
@@ -5,7 +5,7 @@ MKPIC:=no
SRCROOT:= ../..
.include "$(SRCROOT)/pttbbs.mk"
-SRCS:= log.c file.c money.c names.c path.c time.c string.c fhdr_stamp.c
+SRCS:= log.c money.c names.c path.c time.c string.c fhdr_stamp.c
LIB:= cmbbs
install:
diff --git a/common/bbs/file.c b/common/bbs/file.c
deleted file mode 100644
index 8222d1f6..00000000
--- a/common/bbs/file.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include "cmsys.h"
-#include "cmbbs.h"
-
-int
-belong(const char *filelist, const char *key)
-{
- return file_exist_record(filelist, key);
-}
-