Invalid forward declarations break the build, not fix it.
Fix rather bad code style.
One unused function in the source, drop the warning.