summaryrefslogtreecommitdiff
path: root/zebra/zebra_mlag.h
diff options
context:
space:
mode:
authorEmanuele Di Pascale <emanuele@voltanet.io>2019-03-25 15:11:55 +0100
committerEmanuele Di Pascale <emanuele@voltanet.io>2019-03-25 16:05:27 +0100
commit51e94aa7b167b5197f634eec11dc456994787993 (patch)
tree286cdc3e00e8c21c718da3f164614a9c2c85ae2b /zebra/zebra_mlag.h
parentc9146c85a0356a9c62b52f384025bfe0ff65c654 (diff)
add cplusplus guards to all zebra headers
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'zebra/zebra_mlag.h')
-rw-r--r--zebra/zebra_mlag.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_mlag.h b/zebra/zebra_mlag.h
index c5c147c833..90a5a41fa4 100644
--- a/zebra/zebra_mlag.h
+++ b/zebra/zebra_mlag.h
@@ -24,8 +24,17 @@
#include "mlag.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void zebra_mlag_init(void);
void zebra_mlag_terminate(void);
enum mlag_role zebra_mlag_get_role(void);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif