i get this error while compiling my .o file (object file)
Data.c:24: error: field `HtStatus' has incomplete type
Data.c:25: error: field `DcStatus' has incomplete type
struct database {
struct hStat HtStatus[SIZE];
struct dStat DcStatus;
};
struct hStat {
//something;
};
struct dStat {
//something;
};
do i need to use typedef to those structure (dStat, hStat)?