your function signatures are not matching
void processArgs(int,char *,char **,long int *);
void processArgs(int argc, char ** argv, long int * res)
check for char *
you can remove char *
from void processArgs(int,char *,char **,long int *);
or you can remove the complete line.
here because you are already defining function above main()
so no need to use void processArgs(int,char *,char **,long int *);
before function, as compiler is already getting the function signature before compiling main()
.