From 2178431a36c1d444ee05aaeb4fd9ca91c7571a2b Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 6 Dec 2004 10:26:03 +0000 Subject: discard r2368 due to compilation failure git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2371 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/pttstruct.h b/include/pttstruct.h index 0fdc8921..23979723 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -175,9 +175,9 @@ typedef struct boardheader_t { unsigned int level; /* 可以看此板的權限 */ int unused; /* 還沒用到 */ int gid; /* 看板所屬的類別 ID */ - int next[2]; /* 在同一個gid下一個看板 動態產生*/ - int firstchild[2]; /* 屬於這個看板的第一個子看板 */ - int parent; + void *next[2]; /* 在同一個gid下一個看板 動態產生*/ + void *firstchild[2]; /* 屬於這個看板的第一個子看板 */ + void *parent; int childcount; /* 有多少個child */ int nuser; /* 多少人在這板 */ int postexpire; /* postexpire */ @@ -449,7 +449,7 @@ typedef struct { /* utmpshm */ userinfo_t uinfo[USHM_SIZE]; - int sorted[2][8][USHM_SIZE]; + userinfo_t *sorted[2][8][USHM_SIZE]; /* 第一維double buffer 由currsorted指向目前使用的 第二維sort type */ int currsorted; @@ -461,10 +461,10 @@ typedef struct { /* brdshm */ int BMcache[MAX_BOARD][MAX_BMs]; boardheader_t bcache[MAX_BOARD]; - int bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */ + boardheader_t *bsorted[2][MAX_BOARD]; /* 0: by name 1: by class */ #if HOTBOARDCACHE unsigned char nHOTs; - int HBcache[HOTBOARDCACHE]; + boardheader_t *HBcache[HOTBOARDCACHE]; #endif time_t busystate_b[MAX_BOARD]; int total[MAX_BOARD]; -- cgit v1.2.3