summaryrefslogtreecommitdiffstats
path: root/mbbsd/more.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-16 19:58:05 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-16 19:58:05 +0800
commit8b4d9672147dbc8d1905435c99e71332b1c50712 (patch)
tree784d27ba0a9c510c0afd837bad33c7676b41a7eb /mbbsd/more.c
parent376f2d4fa927c6c521bbbe1f9b7c6df0ecdf1157 (diff)
downloadpttbbs-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/more.c')
-rw-r--r--mbbsd/more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c
index a1d82e42..46f77c87 100644
--- a/mbbsd/more.c
+++ b/mbbsd/more.c
@@ -1,4 +1,4 @@
-/* $Id: more.c,v 1.22 2002/12/31 17:40:51 in2 Exp $ */
+/* $Id: more.c,v 1.23 2003/01/16 11:58:04 kcwu Exp $ */
#include "bbs.h"
#define MORE_BUFSIZE 4096
#define MORE_WINSIZE 4096
@@ -134,7 +134,7 @@ more_readln(int fd, unsigned char *buf)
int
more(char *fpath, int promptend)
{
- static char *head[4] = {"作者", "標題", "時間", "轉信"};
+ char *head[4] = {"作者", "標題", "時間", "轉信"};
char *ptr, *word = NULL, buf[ANSILINELEN + 1];
struct stat st;