diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-16 19:58:05 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-16 19:58:05 +0800 |
commit | 8b4d9672147dbc8d1905435c99e71332b1c50712 (patch) | |
tree | 784d27ba0a9c510c0afd837bad33c7676b41a7eb /mbbsd/board.c | |
parent | 376f2d4fa927c6c521bbbe1f9b7c6df0ecdf1157 (diff) | |
download | pttbbs-8b4d9672147dbc8d1905435c99e71332b1c50712.tar pttbbs-8b4d9672147dbc8d1905435c99e71332b1c50712.tar.gz pttbbs-8b4d9672147dbc8d1905435c99e71332b1c50712.tar.bz2 pttbbs-8b4d9672147dbc8d1905435c99e71332b1c50712.tar.lz pttbbs-8b4d9672147dbc8d1905435c99e71332b1c50712.tar.xz pttbbs-8b4d9672147dbc8d1905435c99e71332b1c50712.tar.zst pttbbs-8b4d9672147dbc8d1905435c99e71332b1c50712.zip |
remove unnecessary `static' keyword from some local variable
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@602 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r-- | mbbsd/board.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index fadba9d8..98b88b87 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.67 2003/01/15 09:11:47 kcwu Exp $ */ +/* $Id: board.c,v 1.68 2003/01/16 11:58:04 kcwu Exp $ */ #include "bbs.h" #define BRC_STRLEN 15 /* Length of board name */ #define BRC_MAXSIZE 24576 @@ -517,7 +517,7 @@ load_boards(char *key) } brdnum = 0; if (class_bid <= 0) { - static boardstat_t *tmp = NULL; + boardstat_t *tmp = NULL; nbrd = (boardstat_t *) malloc(sizeof(boardstat_t) * numboards); for (i = 0; i < numboards; i++) { if ((bptr = SHM->bsorted[type][i]) == NULL) @@ -657,10 +657,10 @@ show_brdlist(int head, int clsflag, int newflag) } if (brdnum > 0) { boardstat_t *ptr; - static char *color[8] = {"", "\033[32m", + char *color[8] = {"", "\033[32m", "\033[33m", "\033[36m", "\033[34m", "\033[1m", "\033[1;32m", "\033[1;33m"}; - static char *unread[2] = {"\33[37m \033[m", "\033[1;31m£¾\033[m"}; + char *unread[2] = {"\33[37m \033[m", "\033[1;31m£¾\033[m"}; while (++myrow < b_lines) { move(myrow, 0); |