Fix accidentally changed variable name in function prototype