From 44626fc19363bd3306dd7a38dbcd3eb7aa0aa86e Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 18 Jan 2003 11:54:19 +0000 Subject: reduce boardstatus_t git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c index 714e6b9f..bf7c6cab 100644 --- a/pttbbs/mbbsd/board.c +++ b/pttbbs/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; -- cgit v1.2.3