Fix the function prototype for RPVersion function