When a library includes something that includes common_func.h from inside an extern "C" {} block, compilation will fail. This is at least an infelicity. This PR forces C++ linking in the C++ only parts of common_func.h allowing it to compile without mysterious failures.
When a library includes something that includes common_func.h from inside an extern "C" {} block, compilation will fail. This is at least an infelicity. This PR forces C++ linking in the C++ only parts of common_func.h allowing it to compile without mysterious failures.