remove mismatched arguments from vmlock function definitions