compiler does not warn if parameters declaration is mismatched to prototype in the same file :
Code: Select all
void dummy(const char c) ;
void dummy(char c)
{
PORTB = c ;
}
void main()
{
dummy(1) ;
}