This could mean the declared functions return type is different from the actual function.
void GetSpeed(bool dir);
int GetSpeed(bool dir) {
}
The declared function is void, but the actual function is int;