From fc4a128e1360ba9b3098656b35721323f173838f Mon Sep 17 00:00:00 2001 From: kcwu Date: Wed, 26 Mar 2008 17:52:46 +0000 Subject: - fix syntax for old c compiler. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4029 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mbbsd/board.c') 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 -- cgit v1.2.3