Add extern "C" for router.h

This commit is contained in:
Chris Robinson
2018-10-30 06:45:44 -07:00
parent 71303b73a4
commit f17b930638
+8
View File
@@ -15,6 +15,10 @@
#include "threads.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef UNUSED
#if defined(__cplusplus)
#define UNUSED(x)
@@ -194,4 +198,8 @@ extern FILE *LogFile;
} \
} while(0)
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* ROUTER_ROUTER_H */