hello, Error: L6200E: Symbol os_thread_def_blink_LED multiply defined (by led.o and main.o)..i have declared the variable led.h header file. and included the same header file in all the sub files
Indeed not a language requirement - but some compilers do look at the extension; eg, to choose between C and C++
And some (many? most?) IDEs, and some other tools, do specifically recognise .c and .h extensions
I remember a project once where the authors had tried to be "clever" by distinguishing "private" headers with .h and "public" headers with, IIRC, .e. Of course this was all perfectly legal and valid as far as the 'C' Programming Language is concerned, and seemed like quite a neat idea on the face of it - but caused a number of headaches with all the other tools...