summaryrefslogtreecommitdiff
path: root/staticd/static_vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_vty.h')
-rw-r--r--staticd/static_vty.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/staticd/static_vty.h b/staticd/static_vty.h
index 7ffc8d9c98..01577685e5 100644
--- a/staticd/static_vty.h
+++ b/staticd/static_vty.h
@@ -19,8 +19,17 @@
#ifndef __STATIC_VTY_H__
#define __STATIC_VTY_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int static_config(struct vty *vty, struct static_vrf *svrf,
afi_t afi, safi_t safi, const char *cmd);
void static_vty_init(void);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif