How on earth do you include a C file and its header file?
For the most part “cannot be resolved” errors are just generated by Eclipse when a given symbol is defined in several header files, although only one is used in your source code.
Just look at this FAQ entry for how to correct this.
Bernard (Ac6)