summaryrefslogtreecommitdiff
path: root/zebra/router-id.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/router-id.h')
-rw-r--r--zebra/router-id.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/router-id.h b/zebra/router-id.h
index 6b15159fdb..f7d16853f1 100644
--- a/zebra/router-id.h
+++ b/zebra/router-id.h
@@ -30,6 +30,10 @@
#include "zclient.h"
#include "if.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void router_id_add_address(struct connected *);
extern void router_id_del_address(struct connected *);
extern void router_id_init(struct zebra_vrf *);
@@ -37,4 +41,8 @@ extern void router_id_cmd_init(void);
extern void router_id_write(struct vty *);
extern void router_id_get(struct prefix *, vrf_id_t);
+#ifdef __cplusplus
+}
+#endif
+
#endif