adjust header extern "C"