From fe021ef15d9bab17231102c3d092cd802c83d569 Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 26 Jun 2002 01:54:39 +0000 Subject: remove old board friend structure git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@352 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'include/pttstruct.h') diff --git a/include/pttstruct.h b/include/pttstruct.h index b91741e0..7b93c515 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -1,4 +1,4 @@ -/* $Id: pttstruct.h,v 1.19 2002/06/26 01:12:24 in2 Exp $ */ +/* $Id: pttstruct.h,v 1.20 2002/06/26 01:54:39 in2 Exp $ */ #ifndef INCLUDE_STRUCT_H #define INCLUDE_STRUCT_H @@ -115,7 +115,7 @@ typedef struct boardheader_t { void *parent; int childcount; /* 有多少個child */ int nuser; /* 多少人在這板 */ - void *u; /* 放板友 linked list用 */ + char pad5[4]; /* original void *u */ time_t endgamble; char pad3[84]; } boardheader_t; @@ -224,13 +224,13 @@ typedef struct userinfo_t { char birth; /* 是否是生日 Ptt*/ char tty[11]; /* tty port */ int friend[MAX_FRIEND]; - int friend_online[MAX_FRIEND]; /* point到線上好友 utmpshm的位置 */ - /* 好友比較的cache 前兩個bit是狀態 */ + int friend_online[MAX_FRIEND];/* point到線上好友 utmpshm的位置 */ + /* 好友比較的cache 前兩個bit是狀態 */ int reject[MAX_REJECT]; - void *nextbfriend; /* 用來做板友的linked list */ - int idoffset; /* shm id上的 offset */ + char pad[4]; /* original void *nextbfriend; */ + int idoffset; /* shm id上的 offset */ int lock; - int friendtotal; /* 好友比較的cache 大小 */ + int friendtotal; /* 好友比較的cache 大小 */ unsigned char msgcount; msgque_t msgs[MAX_MSGS]; time_t uptime; -- cgit v1.2.3