Add a missing include guard
Remove needless header definitions
Fix an argument type
Add missing extern description
Add missing 'extern "C"'
Fix include header file