check_input: Added const to function definition.

Makes things a bit more consistent, having const in the function definition as it is in the function declaration.