Compilation err due to intrisic sqrt() used in main.c


#1

I am getting the following compilation error, wt is wrong, how to rectify ?

In file included from main.c:1:0:
solution.h:33:5: error: conflicting types for ‘sqrt’
int sqrt(int A);
^
In file included from solution.c:-18:0:
solution.h:33:5: error: conflicting types for ‘sqrt’
int sqrt(int A);
^
solution.c:6:5: error: conflicting types for ‘sqrt’


#2

I see the same error.