From 2d0f49ba46d80eab5204a09ca188f233c5e13acd 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/pttbbs@629 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd') 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; -- cgit v1.2.3