Ejemplo
static void
foo(){
printf(
"foo is not called in this file"
);
}
int
main(
int
argc,
char
* argv[])
{
return
0;
}
Solución
Utilice la función estática o elimínela del archivo .
static void
foo(){
printf(
"foo is not called in this file"
);
}
int
main(
int
argc,
char
* argv[])
{
foo();
return
0;
}