Hi,

I'm porting C code from motorola HC11 to Texas MSP430. In one of the headers there is a function prototype, i.e.

char f_dull(const struct f_table *t);

The compiler reports a warning,

"struct f_table declared inside parameter list" when it encounters the prototype.

When the C file that contains the function above is compiled, the compiler reports the following,

C file : conflicting types for 'f_dull'
h file: previous declaration of 'f_dull'

The code all compiles under the HC11 compiler. Does anyone know what is happening?

Thanks
John G

Reply via email to