horses.cpp: In function 'void updateX(int, int)':
horses.cpp:27:18: warning: unused parameter 'pos' [-Wunused-parameter]
27 | void updateX(int pos, int val){
| ~~~~^~~
horses.cpp:27:27: warning: unused parameter 'val' [-Wunused-parameter]
27 | void updateX(int pos, int val){
| ~~~~^~~
horses.cpp: In function 'void updateY(int, int)':
horses.cpp:31:18: warning: unused parameter 'pos' [-Wunused-parameter]
31 | void updateY(int pos, int val){
| ~~~~^~~
horses.cpp:31:27: warning: unused parameter 'val' [-Wunused-parameter]
31 | void updateY(int pos, int val){
| ~~~~^~~
/usr/bin/ld: /tmp/ccxYzxxT.o: in function `main':
grader.c:(.text.startup+0xaa): undefined reference to `init(int, int*, int*)'
collect2: error: ld returned 1 exit status