summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-08 22:37:28 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-08 22:37:28 +0800
commitb791df282f267b5ed24bd4fb4cad0ddb4601cfa9 (patch)
treefba70f8d37f82ac0206f3156c28455ac0283f9ec /include
parent8264803f76932799339dff9d5d04f47c9e2b86f1 (diff)
downloadpttbbs-b791df282f267b5ed24bd4fb4cad0ddb4601cfa9.tar
pttbbs-b791df282f267b5ed24bd4fb4cad0ddb4601cfa9.tar.gz
pttbbs-b791df282f267b5ed24bd4fb4cad0ddb4601cfa9.tar.bz2
pttbbs-b791df282f267b5ed24bd4fb4cad0ddb4601cfa9.tar.lz
pttbbs-b791df282f267b5ed24bd4fb4cad0ddb4601cfa9.tar.xz
pttbbs-b791df282f267b5ed24bd4fb4cad0ddb4601cfa9.tar.zst
pttbbs-b791df282f267b5ed24bd4fb4cad0ddb4601cfa9.zip
change to fit bit64 for sob import
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2922 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/fpg.h12
-rw-r--r--include/proto.h1
2 files changed, 6 insertions, 7 deletions
diff --git a/include/fpg.h b/include/fpg.h
index 0ceabd73..199eab02 100644
--- a/include/fpg.h
+++ b/include/fpg.h
@@ -27,8 +27,8 @@ struct sobuserec
usint userlevel; /* 使用者權限 4 bytes */
ushort numlogins; /* 上站次數 2 bytes */
ushort numposts; /* POST次數 2 bytes */
- time_t firstlogin; /* 註冊時間 4 bytes */
- time_t lastlogin; /* 前次上站 4 bytes */
+ time4_t firstlogin; /* 註冊時間 4 bytes */
+ time4_t lastlogin; /* 前次上站 4 bytes */
char lasthost[24]; /* 上站地點 24 bytes */
char vhost[24]; /* 虛擬網址 24 bytes */
char email[50]; /* E-MAIL 50 bytes */
@@ -51,10 +51,10 @@ struct sobuserec
unsigned long int totaltime; /* 上線總時數 8 bytes */
usint sendmsg; /* 發訊息次數 4 bytes */
usint receivemsg; /* 收訊息次數 4 bytes */
- unsigned long int goldmoney; /* 風塵金幣 8 bytes */
- unsigned long int silvermoney; /* 銀幣 8 bytes */
- unsigned long int exp; /* 經驗值 8 bytes */
- time_t dtime; /* 存款時間 4 bytes */
+ unsigned int goldmoney; /* 風塵金幣 8 bytes */
+ unsigned int silvermoney; /* 銀幣 8 bytes */
+ unsigned int exp; /* 經驗值 8 bytes */
+ time4_t dtime; /* 存款時間 4 bytes */
int scoretimes; /* 評分次數 4 bytes */
uschar rtimes; /* 填註冊單次數 1 bytes */
int award; /* 獎懲判斷 4 bytes */
diff --git a/include/proto.h b/include/proto.h
index ec78761d..a04827c2 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -709,7 +709,6 @@ int u_editsig(void);
int u_cloak(void);
int u_register(void);
int u_list(void);
-
#if defined(DBCSAWARE_GETDATA) || defined(DBCSAWARE_EDIT)
# define DBCSAWARE
int u_detectDBCSAwareEvilClient();