summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-17 14:22:29 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-17 14:22:29 +0800
commit1e4d4c78b043cf336ebd25634f5137a412539c8c (patch)
tree78ccad41cea3e9e5b99eaa1ea0c0ef3f39ccd0e6 /include
parent1f197b3f501e0b9412e7686ec6b26b8cf39f0213 (diff)
downloadpttbbs-1e4d4c78b043cf336ebd25634f5137a412539c8c.tar
pttbbs-1e4d4c78b043cf336ebd25634f5137a412539c8c.tar.gz
pttbbs-1e4d4c78b043cf336ebd25634f5137a412539c8c.tar.bz2
pttbbs-1e4d4c78b043cf336ebd25634f5137a412539c8c.tar.lz
pttbbs-1e4d4c78b043cf336ebd25634f5137a412539c8c.tar.xz
pttbbs-1e4d4c78b043cf336ebd25634f5137a412539c8c.tar.zst
pttbbs-1e4d4c78b043cf336ebd25634f5137a412539c8c.zip
remove all pointers in SHM_t
git-svn-id: http://opensvn.csie.org/pttbbs/branches/ptt.linux@2336 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/pttstruct.h6
1 files changed, 3 insertions, 3 deletions
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 */