removed remaining extern "C" specifications