prog.c: In function ‘foo’:
prog.c:8:2: warning: implicit declaration of function ‘whilekjn’ [-Wimplicit-function-declaration]
whilekjn(string)
^~~~~~~~
prog.c:9:2: error: expected ‘;’ before ‘{’ token
{
^
prog.c:5:6: warning: unused variable ‘count’ [-Wunused-variable]
int count =0;
^~~~~
prog.c:15:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^