From 1e4d4c78b043cf336ebd25634f5137a412539c8c Mon Sep 17 00:00:00 2001 From: ptt Date: Wed, 17 Nov 2004 06:22:29 +0000 Subject: remove all pointers in SHM_t git-svn-id: http://opensvn.csie.org/pttbbs/branches/ptt.linux@2336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/pttstruct.h b/include/pttstruct.h index 34917ec7..7b09966f 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -173,9 +173,9 @@ typedef struct boardheader_t { unsigned int level; /* 可以看此板的權限 */ int unused; /* 還沒用到 */ int gid; /* 看板所屬的類別 ID */ - void *next[2]; /* 在同一個gid下一個看板 動態產生*/ - void *firstchild[2]; /* 屬於這個看板的第一個子看板 */ - void *parent; + int next[2]; /* 在同一個gid下一個看板 動態產生*/ + int firstchild[2]; /* 屬於這個看板的第一個子看板 */ + int parent; int childcount; /* 有多少個child */ int nuser; /* 多少人在這板 */ int postexpire; /* postexpire */ -- cgit v1.2.3