summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.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/talk.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/talk.c')
-rw-r--r--mbbsd/talk.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 6909d726..2bc1ac53 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.98 2003/01/14 11:19:39 in2 Exp $ */
+/* $Id: talk.c,v 1.99 2003/01/16 11:58:04 kcwu Exp $ */
#include "bbs.h"
#define QCAST int (*)(const void *, const void *)
@@ -81,7 +81,7 @@ char *
modestring(userinfo_t * uentp, int simple)
{
static char modestr[40];
- static char *notonline = "不在站上";
+ char *notonline = "不在站上";
register int mode = uentp->mode;
register char *word;
int fri_stat;
@@ -348,10 +348,10 @@ my_query(char *uident)
int tuid, i, fri_stat = 0;
unsigned long int j;
userinfo_t *uentp;
- static const char *money[10] =
+ const char *money[10] =
{"債台高築", "赤貧", "清寒", "普通", "小康",
"小富", "中富", "大富翁", "富可敵國", "比爾蓋\天"};
- static const char *sex[8] =
+ const char *sex[8] =
{MSG_BIG_BOY, MSG_BIG_GIRL,
MSG_LITTLE_BOY, MSG_LITTLE_GIRL,
MSG_MAN, MSG_WOMAN, MSG_PLANT, MSG_MIME};
@@ -1398,7 +1398,7 @@ t_showhelp()
static char *
friend_descript(userinfo_t * uentp)
{
- static char *space_buf = "";
+ char *space_buf = "";
static char desc_buf[80];
char fpath[80], name[IDLEN + 2], *desc, *ptr;
int len, flag;