Trying to test but I get a compiler error. Any idea what I'm missing?
c99 cyanDreams.c ai_pred.o ai_prey.o ai_pet.o events.o genMap.o map.o mon.o paint.o item.o monNames.o logging.o -o cyanDreams -L./libtcod-1.6.0/ -ltcod -lm -g -Wall -I./libtcod-1.6.0/include/ -Wl,-rpath,.
cyanDreams.c: In function ‘userInput’:
cyanDreams.c:314:7: error: a label can only be part of a statement and a declaration is not a statement
314 | int moveAction = inputMovePlayer(key.c);
| ^~~
cyanDreams.c:344:7: error: a label can only be part of a statement and a declaration is not a statement
344 | static int tick=0;
| ^~~~~~