diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-27 01:52:46 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-27 01:52:46 +0800 |
commit | fc4a128e1360ba9b3098656b35721323f173838f (patch) | |
tree | dca352ee376bdf37159386bf02b5e5aee7d7986f /mbbsd/board.c | |
parent | d1f3e1991d8a79317f421125f5bb61e1c5d79474 (diff) | |
download | pttbbs-fc4a128e1360ba9b3098656b35721323f173838f.tar pttbbs-fc4a128e1360ba9b3098656b35721323f173838f.tar.gz pttbbs-fc4a128e1360ba9b3098656b35721323f173838f.tar.bz2 pttbbs-fc4a128e1360ba9b3098656b35721323f173838f.tar.lz pttbbs-fc4a128e1360ba9b3098656b35721323f173838f.tar.xz pttbbs-fc4a128e1360ba9b3098656b35721323f173838f.tar.zst pttbbs-fc4a128e1360ba9b3098656b35721323f173838f.zip |
- fix syntax for old c compiler.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r-- | mbbsd/board.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 1376e0da..a1ca7006 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -117,7 +117,7 @@ int enter_board(const char *boardname) } -void imovefav(int old) +static void imovefav(int old) { char buf[5]; int new; @@ -275,7 +275,6 @@ b_config(void) { boardheader_t *bp=NULL; int touched = 0, finished = 0; - bp = getbcache(currbid); int i = 0, attr = 0, ipostres; char isBM = (currmode & MODE_BOARD) || HasUserPerm(PERM_SYSOP); // perm cache @@ -289,6 +288,8 @@ b_config(void) int ytitle = b_lines - LNBOARDINFO; + bp = getbcache(currbid); + #ifdef OLDRECOMMEND ytitle ++; #endif // OLDRECOMMEND |