extern "C" { void lib_function(); void lib_function2(); } int main() { lib_function(); lib_function2(); }