update func definition from K&R style to normal C style.
func param fix.