summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mroute.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_mroute.h
parentMerge pull request #3772 from pguibert6WIND/vrf_backend_unknown (diff)
downloadfrr-51e94aa7b167b5197f634eec11dc456994787993.tar.xz
frr-51e94aa7b167b5197f634eec11dc456994787993.zip
add cplusplus guards to all zebra headers
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'zebra/zebra_mroute.h')
-rw-r--r--zebra/zebra_mroute.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_mroute.h b/zebra/zebra_mroute.h
index 338515360..3c12b82da 100644
--- a/zebra/zebra_mroute.h
+++ b/zebra/zebra_mroute.h
@@ -24,6 +24,10 @@
#include "zebra/zserv.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct mcast_route_data {
struct prefix_sg sg;
unsigned int ifindex;
@@ -32,4 +36,8 @@ struct mcast_route_data {
void zebra_ipmr_route_stats(ZAPI_HANDLER_ARGS);
+#ifdef __cplusplus
+}
+#endif
+
#endif