Hello everyone.. I need your help! I want to make a header file for the prototype of function sum and two .c files. One for main and one for the implementation of the function. So, when I try to compile the implementation file.c it says:
linux01:/home/users/-----------/Exerc3>gcc -o himplementation.o himplementation.c
himplementation.c:5: error: conflicting types for 'sum'
hfiles.h:1: error: previous declaration of 'sum' was here
What's the problem?