prog.c: In function ‘vTimerTask’:
prog.c:12:2: error: expected expression before ‘.’ token
.
^
prog.c:20:2: warning: implicit declaration of function ‘GiveSemaphore’ [-Wimplicit-function-declaration]
GiveSemaphore(SEMAPHORE_TIME_OF_DAY);
^~~~~~~~~~~~~
prog.c:20:16: error: ‘SEMAPHORE_TIME_OF_DAY’ undeclared (first use in this function)
GiveSemaphore(SEMAPHORE_TIME_OF_DAY);
^~~~~~~~~~~~~~~~~~~~~
prog.c:20:16: note: each undeclared identifier is reported only once for each function it appears in
prog.c:21:2: error: expected expression before ‘.’ token
.
^
prog.c: At top level:
prog.c:25:1: error: expected identifier or ‘(’ before ‘--’ token
-----------------------------------------------------
^~
prog.c: In function ‘vHackerTask’:
prog.c:31:2: error: expected expression before ‘.’ token
.
^
prog.c: At top level:
prog.c:45:1: error: expected identifier or ‘(’ before ‘--’ token
-----------------------------------------------------
^~
prog.c: In function ‘vJuniorProgrammerTask’:
prog.c:51:2: error: expected expression before ‘.’ token
.
^