summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 23979723..0fdc8921 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -175,9 +175,9 @@ typedef struct boardheader_t {
unsigned int level; /* �i�H�ݦ��O���v�� */
int unused; /* �٨S�Ψ� */
int gid; /* �ݪO���ݪ����O ID */
- void *next[2]; /* �b�P�@��gid�U�@�ӬݪO �ʺA����*/
- void *firstchild[2]; /* �ݩ�o�ӬݪO���Ĥ@�Ӥl�ݪO */
- void *parent;
+ int next[2]; /* �b�P�@��gid�U�@�ӬݪO �ʺA����*/
+ int firstchild[2]; /* �ݩ�o�ӬݪO���Ĥ@�Ӥl�ݪO */
+ int parent;
int childcount; /* ���h�֭�child */
int nuser; /* �h�֤H�b�o�O */
int postexpire; /* postexpire */
@@ -449,7 +449,7 @@ typedef struct {
/* utmpshm */
userinfo_t uinfo[USHM_SIZE];
- userinfo_t *sorted[2][8][USHM_SIZE];
+ int sorted[2][8][USHM_SIZE];
/* �Ĥ@��double buffer ��currsorted���V�ثe�ϥΪ�
�ĤG��sort type */
int currsorted;
@@ -461,10 +461,10 @@ typedef struct {
/* brdshm */
int BMcache[MAX_BOARD][MAX_BMs];
boardheader_t bcache[MAX_BOARD];
- boardheader_t *bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */
+ int bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */
#if HOTBOARDCACHE
unsigned char nHOTs;
- boardheader_t *HBcache[HOTBOARDCACHE];
+ int HBcache[HOTBOARDCACHE];
#endif
time_t busystate_b[MAX_BOARD];
int total[MAX_BOARD];