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/admin.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/admin.c')
-rw-r--r-- | mbbsd/admin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index a060a123..3b41802f 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1,4 +1,4 @@ -/* $Id: admin.c,v 1.29 2002/07/22 19:02:00 in2 Exp $ */ +/* $Id: admin.c,v 1.30 2003/01/16 11:58:04 kcwu Exp $ */ #include "bbs.h" /* 使用者管理 */ @@ -724,15 +724,15 @@ int scan_register_form(char *regfile, int automode, int neednum) { char genbuf[200]; - static char *logfile = "register.log"; - static char *field[] = { + char *logfile = "register.log"; + char *field[] = { "uid", "ident", "name", "career", "addr", "phone", "email", NULL }; - static char *finfo[] = { + char *finfo[] = { "帳號", "身分證號", "真實姓名", "服務單位", "目前住址", "連絡電話", "電子郵件信箱", NULL }; - static char *reason[] = { + char *reason[] = { "輸入真實姓名", "詳細填寫您的「學校以及『科系』『年級』」或「服務單位(詳細至職稱)」", "填寫完整的住址資料 (含縣市名稱, 台北市請含行政區域)", @@ -741,7 +741,7 @@ scan_register_form(char *regfile, int automode, int neednum) "用中文填寫申請單", NULL }; - static char *autoid = "AutoScan"; + char *autoid = "AutoScan"; userec_t muser; FILE *fn, *fout, *freg; char fdata[7][STRLEN]; |