/in/ex3.c: In function 'main':
/in/ex3.c:123:23: error: passing argument 1 of 'generate_random_walk' from incompatible pointer type [-Werror=incompatible-pointer-types]
generate_random_walk(walk);
^~~~
/in/ex3.c:5:6: note: expected 'char (*)[10]' but argument is of type 'char (*)[15]'
void generate_random_walk(char walk[10][10])
^~~~~~~~~~~~~~~~~~~~
/in/ex3.c:124:12: error: passing argument 1 of 'print_map' from incompatible pointer type [-Werror=incompatible-pointer-types]
print_map(walk);
^~~~
/in/ex3.c:106:6: note: expected 'char (*)[10]' but argument is of type 'char (*)[15]'
void print_map(char walk[10][10])
^~~~~~~~~
cc1: all warnings being treated as errors