eppure è dichiarata come

int myfunc(void);

asp... l'errore me lo fa notare per searchFile(currentString) !