summaryrefslogtreecommitdiff
path: root/zebra/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/debug.h')
-rw-r--r--zebra/debug.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h
index c79cd96c21..944ad6d68b 100644
--- a/zebra/debug.h
+++ b/zebra/debug.h
@@ -24,6 +24,10 @@
#include "lib/vty.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Debug flags. */
#define ZEBRA_DEBUG_EVENT 0x01
@@ -99,4 +103,8 @@ extern void zebra_debug_init(void);
DECLARE_HOOK(zebra_debug_show_debugging, (struct vty *vty), (vty));
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ZEBRA_DEBUG_H */