Redefinition error when declaring a float function

I keep getting a “redefinition of ‘float runHeater’” error when declaring a function, and everywhere I look for help says that I probably declared the same thing twice in my code. But I didn’t, so I don’t know where the problem is.

I get the error on line 56. Even if I “//” out line 106, the only other place that “runHeater” is used, I get the same result. I also tried adding a “return();” or a “return(f)” (the float that comes from the function within this function) at the end, but that didn’t make a difference either. If I “/**/” out this function declaration, I get the same error for the “runExhaust” function.

Greenhouse.ino (3.28 KB)

float runHeater(fanRelayPin, heaterRelayPin){

This is NOT a function declaration. Function declarations define the types of all arguments.