求助 结构体定义
struct Dat2_F{//报警信息或报警相关信息数据结构
unsigned char
FsqAddr,Comm,Target_addr,Main_addr,Loop_addr,Pan_addr,Device_Type,Device_H,Device_L,
/*楼*/Floor,/*层*/Layer,/*区*/Qu,Year,Month,Day,Hour,Min,Sec,F_type,
ABC1,ABC2,ABC3,ABC4,ABC5,ABC6,ABC7,ABC8,ABC9,ABC10,
ABC11,ABC12,ABC13,ABC14,ABC15,ABC16,ABC17,ABC18,ABC19,ABC20,FSQ_CRC;
struct Dat2_F xdata *next;
struct Dat2_F xdata *prior;
};
struct Dat2_F
xdata *outMsg_F, xdata *outMsg_Mrr_F,
xdata *fHead, xdata *fTail; //fault
typedef struct
{
struct Dat2_F data;
int used;//0:unused, 1:used.
} Dat2_F_Map[MAX_SIZE];
大家再帮忙看看这个有什么问题,一直报错struct Dat2_F data;和Dat2_F_Map[MAX_SIZE];这句