summaryrefslogtreecommitdiffstats
path: root/zebra/rt.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/rt.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/rt.h')
-rw-r--r--zebra/rt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 4080b0ccb..bc91edd80 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -31,6 +31,10 @@
#include "zebra/zebra_mpls.h"
#include "zebra/zebra_dplane.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Update or delete a route, LSP, or pseudowire from the kernel,
* using info from a dataplane context.
@@ -91,4 +95,8 @@ extern void neigh_read_specific_ip(struct ipaddr *ip,
struct interface *vlan_if);
extern void route_read(struct zebra_ns *zns);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _ZEBRA_RT_H */