This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049C: Function Definition in Header File Fails Initializations

Part Number: TMS320F280049C

Hi Team,

I'm working to execute function definition which is in header file and calling from main file.

I'm observing warnings like "variables declared but never referenced". Please see the attached images and guide me to resolve those error/warnings in CCS Ver: 10.4.0.00006.

1. I have created header file and declared function as extern.



2. Written Definition in declarations.h File 




3. Included dec.h header file in declarations.h (above file).


4. Included dec.h & declarations.h in main file



5. calling in main



.

Please help me to resolve those warnings