prog.c:5:25: error: parameter ‘array’ has just a forward declaration
void tokenizeLine(char *array[13]; char* line)
^~~~~
prog.c: In function ‘tokenizeLine’:
prog.c:15:9: error: ‘array’ undeclared (first use in this function)
array[i++] = p;
^~~~~
prog.c:15:9: note: each undeclared identifier is reported only once for each function it appears in
prog.c: In function ‘main’:
prog.c:24:18: warning: passing argument 1 of ‘tokenizeLine’ from incompatible pointer type [-Wincompatible-pointer-types]
tokenizeLine(array, "hehe,1,2,2,2,2,2,2,2,2,2,2,4\n");
^~~~~
prog.c:5:6: note: expected ‘char *’ but argument is of type ‘char **’
void tokenizeLine(char *array[13]; char* line)
^~~~~~~~~~~~
prog.c:24:5: error: too many arguments to function ‘tokenizeLine’
tokenizeLine(array, "hehe,1,2,2,2,2,2,2,2,2,2,2,4\n");
^~~~~~~~~~~~
prog.c:5:6: note: declared here
void tokenizeLine(char *array[13]; char* line)
^~~~~~~~~~~~