Dealing with issue #355; magic bit file detection on the c++ code

skip ci
This is already declared around line 390. Do you really need the forward declaration? If so, you may be able to re-arrange things to avoid it.