diff options
Diffstat (limited to 'lib/log_int.h')
-rw-r--r-- | lib/log_int.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/log_int.h b/lib/log_int.h index a7f8be9ae..58ae031e1 100644 --- a/lib/log_int.h +++ b/lib/log_int.h @@ -24,6 +24,10 @@ #include "log.h" +#ifdef __cplusplus +extern "C" { +#endif + struct zlog { const char *ident; /* daemon name (first arg to openlog) */ const char *protoname; @@ -49,4 +53,8 @@ extern const char *zlog_priority[]; extern void vzlog(int priority, const char *format, va_list args); extern void zlog(int priority, const char *format, ...) PRINTF_ATTRIBUTE(2, 3); +#ifdef __cplusplus +} +#endif + #endif /* _ZEBRA_LOG_PRIVATE_H */ |