summaryrefslogtreecommitdiff
path: root/zebra/zebra_netns_notify.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_netns_notify.h
parentc9146c85a0356a9c62b52f384025bfe0ff65c654 (diff)
add cplusplus guards to all zebra headers
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
Diffstat (limited to 'zebra/zebra_netns_notify.h')
-rw-r--r--zebra/zebra_netns_notify.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/zebra_netns_notify.h b/zebra/zebra_netns_notify.h
index 0ced749ae8..18939283a7 100644
--- a/zebra/zebra_netns_notify.h
+++ b/zebra/zebra_netns_notify.h
@@ -20,10 +20,18 @@
#ifndef _NETNS_NOTIFY_H
#define _NETNS_NOTIFY_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void zebra_ns_notify_init(void);
extern void zebra_ns_notify_parse(void);
extern void zebra_ns_notify_close(void);
extern struct zebra_privs_t zserv_privs;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* NETNS_NOTIFY_H */