Switch to side-by-side view
--- a/libupnpp/getsyshwaddr.c +++ b/libupnpp/getsyshwaddr.c @@ -56,6 +56,10 @@ #include "getsyshwaddr.h" +#ifdef __cplusplus +extern "C" { +#endif + #define MACADDR_IS_ZERO(x) \ ((x[0] == 0x00) && \ (x[1] == 0x00) && \ @@ -186,6 +190,10 @@ return ret; } +#ifdef __cplusplus +} +#endif + /* Local Variables: */ /* mode: c++ */ /* c-basic-offset: 4 */