summaryrefslogtreecommitdiff
path: root/zebra/zebra_netns_notify.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_netns_notify.h')
-rw-r--r--zebra/zebra_netns_notify.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_netns_notify.h b/zebra/zebra_netns_notify.h
index 0ced749ae8..18939283a7 100644
--- a/zebra/zebra_netns_notify.h
+++ b/zebra/zebra_netns_notify.h
@@ -20,10 +20,18 @@
#ifndef _NETNS_NOTIFY_H
#define _NETNS_NOTIFY_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void zebra_ns_notify_init(void);
extern void zebra_ns_notify_parse(void);
extern void zebra_ns_notify_close(void);
extern struct zebra_privs_t zserv_privs;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* NETNS_NOTIFY_H */