I get an error "conflicting types for 'abs' in my function.
The code is very simple.

```
double abs (double x) {  // Returns absolute value
if (x<0)
    return (x*(-1));
else
    return x;
}

```

This is on a C proyect on codeblocks.
I already tried casting the returns but the error remains anyway.