Exemple
static void
foo(){
printf(
"foo n'est pas appelé dans ce fichier"
);
}
int
main(
int
argc,
char
* argv[])
{
return
0;
}
Solution
Utilisez la fonction statique ou supprimez-la du fichier.
static void
foo(){
printf(
"foo n'est pas appelé dans ce fichier"
);
}
int
main(
int
argc,
char
* argv[])
{
foo();
return
0;
}