summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.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/edit.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/edit.c')
-rw-r--r--mbbsd/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index ec20e7c1..354a2abb 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1,4 +1,4 @@
-/* $Id: edit.c,v 1.24 2002/12/31 17:40:51 in2 Exp $ */
+/* $Id: edit.c,v 1.25 2003/01/16 11:58:04 kcwu Exp $ */
#include "bbs.h"
typedef struct textline_t {
struct textline_t *prev;
@@ -102,7 +102,7 @@ n2ansi(int nx, textline_t * line)
static void
edit_msg()
{
- static char *edit_mode[2] = {"取代", "插入"};
+ char *edit_mode[2] = {"取代", "插入"};
register int n = currpnt;
if (my_ansimode) /* Thor: 作 ansi 編輯 */
@@ -1226,7 +1226,7 @@ search_str(int mode)
static void
match_paren()
{
- static char parens[] = "()[]{}";
+ char *parens = "()[]{}";
int type;
int parenum = 0;
char *ptype;