summaryrefslogtreecommitdiff
path: root/zebra/zebra_pw.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_pw.h')
-rw-r--r--zebra/zebra_pw.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_pw.h b/zebra/zebra_pw.h
index 9692fb4d40..bbb3776725 100644
--- a/zebra/zebra_pw.h
+++ b/zebra/zebra_pw.h
@@ -29,6 +29,10 @@
#include "zebra/zebra_vrf.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define PW_INSTALL_RETRY_INTERVAL 30
struct zebra_pw {
@@ -74,4 +78,8 @@ void zebra_pw_init(struct zebra_vrf *);
void zebra_pw_exit(struct zebra_vrf *);
void zebra_pw_vty_init(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ZEBRA_PW_H_ */