Fix syntax error in functin declaration