summaryrefslogtreecommitdiffstats
path: root/mbbsd/xyz.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/xyz.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/xyz.c')
-rw-r--r--mbbsd/xyz.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c
index dba8ad13..f00087f2 100644
--- a/mbbsd/xyz.c
+++ b/mbbsd/xyz.c
@@ -1,4 +1,4 @@
-/* $Id: xyz.c,v 1.12 2002/07/22 19:02:01 in2 Exp $ */
+/* $Id: xyz.c,v 1.13 2003/01/16 11:58:05 kcwu Exp $ */
#include "bbs.h"
/* 各種統計及相關資訊列表 */
@@ -164,8 +164,8 @@ x_gpl()
int
note()
{
- static char *fn_note_tmp = "note.tmp";
- static char *fn_note_dat = "note.dat";
+ char *fn_note_tmp = "note.tmp";
+ char *fn_note_dat = "note.dat";
int total = 0, i, collect, len;
struct stat st;
char buf[256], buf2[80];