prog.c:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
prog.c: In function ‘main’:
prog.c:15: error: ‘queue’ undeclared (first use in this function)
prog.c:15: error: (Each undeclared identifier is reported only once
prog.c:15: error: for each function it appears in.)
prog.c:15: error: ‘head1’ undeclared (first use in this function)
prog.c:16: error: ‘tail1’ undeclared (first use in this function)
prog.c:17: error: ‘current’ undeclared (first use in this function)
prog.c:21: warning: implicit declaration of function ‘enqueue’
prog.c:32: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result
prog.c: At top level:
prog.c:36: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token