Remove many extern "C" declarations that are no longer needed.