Here is a simple example of TAD, which displays the error.
file.h
#include <stdio.h>
#include <stdlib.h>
int teste();
file.c
#include "arquivo.h"
int teste()
{
int a=5, b=10;
return a+b;
}
main.c
#include "arquivo.h"
int main()
{
int r = teste();
printf("\n\n%d\n\n",r);
return 0;
}
And when I compile the error below appears.