diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-18 19:54:19 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-01-18 19:54:19 +0800 |
commit | 2d0f49ba46d80eab5204a09ca188f233c5e13acd (patch) | |
tree | 6310583a83b4400050bb047c80483fc69b8dc138 /mbbsd | |
parent | 30276d25ef4831f92b055e9bc4e66e2053766ca4 (diff) | |
download | pttbbs-2d0f49ba46d80eab5204a09ca188f233c5e13acd.tar pttbbs-2d0f49ba46d80eab5204a09ca188f233c5e13acd.tar.gz pttbbs-2d0f49ba46d80eab5204a09ca188f233c5e13acd.tar.bz2 pttbbs-2d0f49ba46d80eab5204a09ca188f233c5e13acd.tar.lz pttbbs-2d0f49ba46d80eab5204a09ca188f233c5e13acd.tar.xz pttbbs-2d0f49ba46d80eab5204a09ca188f233c5e13acd.tar.zst pttbbs-2d0f49ba46d80eab5204a09ca188f233c5e13acd.zip |
reduce boardstatus_t
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 714e6b9f..bf7c6cab 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1,4 +1,4 @@ -/* $Id: board.c,v 1.76 2003/01/18 01:01:06 in2 Exp $ */ +/* $Id: board.c,v 1.77 2003/01/18 11:54:19 in2 Exp $ */ #include "bbs.h" #define BRC_STRLEN 15 /* Length of board name */ #define BRC_MAXSIZE 24576 @@ -218,8 +218,8 @@ brc_unread(char *fname, int bnum, int *blist) #define B_BH(bptr) (&bcache[(bptr)->bid - 1]) typedef struct { int bid; - unsigned int myattr; -} boardstat_t; + unsigned char myattr; +} __attribute__ ((packed)) boardstat_t; static int *zapbuf = NULL; static char *favbuf = NULL; |