Add extern "C" for router.h
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user