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; /* �ϥΪ��v�� 4 bytes */
ushort numlogins; /* �W������ 2 bytes */
ushort numposts; /* POST���� 2 bytes */
- time_t firstlogin; /* ���U�ɶ� 4 bytes */
- time_t lastlogin; /* �e���W�� 4 bytes */
+ time4_t firstlogin; /* ���U�ɶ� 4 bytes */
+ time4_t lastlogin; /* �e���W�� 4 bytes */
char lasthost[24]; /* �W���a�I 24 bytes */
char vhost[24]; /* �������} 24 bytes */
char email[50]; /* E-MAIL 50 bytes */
@@ -51,10 +51,10 @@ struct sobuserec
unsigned long int totaltime; /* �W�u�`�ɼ� 8 bytes */
usint sendmsg; /* �o�T������ 4 bytes */
usint receivemsg; /* ���T������ 4 bytes */
- unsigned long int goldmoney; /* ������ 8 bytes */
- unsigned long int silvermoney; /* �ȹ� 8 bytes */
- unsigned long int exp; /* �g��� 8 bytes */
- time_t dtime; /* �s�ڮɶ� 4 bytes */
+ unsigned int goldmoney; /* ������ 8 bytes */
+ unsigned int silvermoney; /* �ȹ� 8 bytes */
+ unsigned int exp; /* �g��� 8 bytes */
+ time4_t dtime; /* �s�ڮɶ� 4 bytes */
int scoretimes; /* �������� 4 bytes */
uschar rtimes; /* ����U�榸�� 1 bytes */
int award; /* ���g�P�_ 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();