Fix badly named variable in function prototype (raised by cppcheck)