getting "parameter has incomplete type" and "conflicting types" error
Hi Friends,
i am trying to modify a code. Whenever i edit the code, i get the above errors "parameter cmd has an incomplete type" and "conflicting types" error. I have just introduced my new parameters, without modifying the original code. I don't know what i am doing wrong.
(1)i have defined the "enum cmd" in other header file and included it, but still its saying that "parameter cmd has an incomplete type", when i try to compile the code.
(2)A structure is declared in header file and it is defined in .c file. i have included it. when i compile them, without my part, they compile successfully. But when i introduce my part, they say "they both are of conflicting types". Can anyone help me as soon as possible ? Please..
Thanks,
Ashish
|