Hi,
I am trying some porting examples to winscw and I have a question:
Why is it that the MetroWerks CodeWarrior 3.1 cannot handle the following?
in header file (pcb.h):
int in_baddynamic (u_int16_t, u_int16_t);
in c file (pcb.c)
int
in_baddynamic (a, b)
u_int16_t a;
u_int16_t b;
{...}
CodeWarrior complains with a 'identifier redeclared' error.
Is it because the declaration is a different style to the definition?
I am not use -strict, maybe the compiler just can't handle it?
I have searched the whole tree and there is only one declaration and one
definition.