struct mt_blk { int closed; thread wQueue; }; typedef struct mt_blk mutex; #define M_INI {0,0} void close(mutex *m); int main(void) { return 0; }
Standard input is empty
prog.c:3: error: expected specifier-qualifier-list before ‘thread’ prog.c: In function ‘main’: prog.c:13: warning: implicit declaration of function ‘printf’ prog.c:13: warning: incompatible implicit declaration of built-in function ‘printf’ prog.c:13: error: expected expression before ‘mutex’ prog.c:13:30: warning: missing terminating " character prog.c:13: error: missing terminating " character prog.c:15: error: expected ‘;’ before ‘}’ token
Standard output is empty