summaryrefslogtreecommitdiff
path: root/staticd/static_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_debug.h')
-rw-r--r--staticd/static_debug.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/staticd/static_debug.h b/staticd/static_debug.h
index 3a96339f47..ee9f7b0537 100644
--- a/staticd/static_debug.h
+++ b/staticd/static_debug.h
@@ -23,11 +23,14 @@
#ifndef _STATIC_DEBUG_H
#define _STATIC_DEBUG_H
-
#include <zebra.h>
#include "lib/debug.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* staticd debugging records */
extern struct debug static_dbg_events;
extern struct debug static_dbg_route;
@@ -70,5 +73,8 @@ int static_debug_status_write(struct vty *vty);
*/
void static_debug_set(int vtynode, bool onoff, bool events, bool route);
+#ifdef __cplusplus
+}
+#endif
#endif /* _STATIC_DEBUG_H */