This could just be static I think. If you move up the function definition there is no need for the forward declaration either.