summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-05 15:42:05 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-05 15:42:05 +0800
commit50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7 (patch)
tree0f81798297aa384ec1e2447fcb73170bdfbe963b /mbbsd/cache.c
parent983a7b8ef01b03cc7596751f431277ed7540c713 (diff)
downloadpttbbs-50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7.tar
pttbbs-50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7.tar.gz
pttbbs-50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7.tar.bz2
pttbbs-50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7.tar.lz
pttbbs-50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7.tar.xz
pttbbs-50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7.tar.zst
pttbbs-50a91ac9fcb6ffa78377e8fb81adb65e7c3a91c7.zip
Merge from brc2 branch.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1695 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index bac961cb..67a405d3 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -733,7 +733,7 @@ touchbpostnum(int bid, int delta)
}
int
-getbnum(char *bname)
+getbnum(const char *bname)
{
register int i = 0, j, start = 0, end = SHM->Bnumber - 1;
register boardheader_t **bhdr;