I've seen the following in numerous header files.
Presumably if the code is compiled as C++ the 'extern "C"' bit get's included in the header, but that does that achieve?Code:#ifdef __cplusplus extern "C" { #endif // some declarations #ifdef __cplusplus } #endif