I have got the following files:
The files 'USART0_interrupt.c' 'USART0_polling.c' define the same functions. Even though I just include one header file via preprocessor directives in my main.c, I obtain the error 'multiple definition of ...'. If I remove one source file from the project, the code works. So why does the linker link a source to my program, even if it is not used?