diff options
author | Chris Robinson <[email protected]> | 2018-10-30 06:45:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-10-30 06:45:44 -0700 |
commit | f17b930638e075e33677bfdd7c4dd68078b8ac82 (patch) | |
tree | f9f1bfff48bcf52b2c01f2b82b88ef8a60f48c6d /router | |
parent | 71303b73a440a755d2dbd39fa9edfe3ed9ea355d (diff) |
Add extern "C" for router.h
Diffstat (limited to 'router')
-rw-r--r-- | router/router.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/router/router.h b/router/router.h index 32a91dcb..36c825d4 100644 --- a/router/router.h +++ b/router/router.h @@ -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 */ |