Fix const usage in prototype declaration