To make sure the C++ compiler uses unmodified names when calling functions in your C code, list your C functions in your C++ code using extern "C".