Add 'extern "C"' to function declaration to allow linking with C++ code

To use the drivers with C++ code (especially the drivers.h header), the function prototypes have to be presented with extern "C" statement to the compiler.