remove unnecessary extern "c" guards