extern "C" void foo(); extern "C" { void bar(); int baz(); double double_func(); } extern "C++" { void bar_cpp(); int baz_cpp(); double double_func_cpp(); }