Made rover.c standards compliant