diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-06-04 21:08:35 +0800 |
commit | 9e81baf8352b3d525c9a1459f28dae6b540988e3 (patch) | |
tree | a558e73187b9d45b59280a79c927e7f8bb315623 /mbbsd/user.c | |
parent | e42291049072cfee02408394850b33b3580dbd83 (diff) | |
download | pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.gz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.bz2 pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.lz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.xz pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.tar.zst pttbbs-9e81baf8352b3d525c9a1459f28dae6b540988e3.zip |
global variable move to var.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@280 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 89ebef5f..54a3a515 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1,37 +1,5 @@ -/* $Id: user.c,v 1.20 2002/06/02 06:44:44 in2 Exp $ */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <time.h> -#include <unistd.h> -#include <ctype.h> -#include <sys/types.h> -#include "config.h" -#include "pttstruct.h" -#include "common.h" -#include "perm.h" -#include "modes.h" -#include "proto.h" - -extern int numboards; -extern boardheader_t *bcache; -extern char *loginview_file[NUMVIEWFILE][2]; -extern int b_lines; /* Screen bottom line number: t_lines-1 */ -extern time_t login_start_time; -extern char *msg_uid; -extern int usernum; -extern char *msg_sure_ny; -extern userinfo_t *currutmp; -extern int showansi; -extern char reset_color[]; -extern char *fn_proverb; -extern char *fn_plans; -extern char *msg_del_ok; -extern char *fn_register; -extern char *msg_nobody; -extern userec_t cuser; -extern userec_t xuser; -extern time_t now; +/* $Id: user.c,v 1.21 2002/06/04 13:08:34 in2 Exp $ */ +#include "bbs.h" static char *sex[8] = { MSG_BIG_BOY, MSG_BIG_GIRL, MSG_LITTLE_BOY, MSG_LITTLE_GIRL, @@ -220,7 +188,6 @@ static void violate_law(userec_t *u, int unum){ pressanykey(); } -extern char* str_permid[]; void uinfo_query(userec_t *u, int real, int unum) { userec_t x; @@ -1062,7 +1029,6 @@ int u_register(void) } /* 列出所有註冊使用者 */ -extern struct uhash_t *uhash; static int usercounter, totalusers, showrealname; static ushort u_list_special; |