remove local variable names from function declarations