diff options
author | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-03-25 15:11:55 +0100 |
---|---|---|
committer | Emanuele Di Pascale <emanuele@voltanet.io> | 2019-03-25 16:05:27 +0100 |
commit | 51e94aa7b167b5197f634eec11dc456994787993 (patch) | |
tree | 286cdc3e00e8c21c718da3f164614a9c2c85ae2b /zebra/interface.h | |
parent | Merge pull request #3772 from pguibert6WIND/vrf_backend_unknown (diff) | |
download | frr-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/interface.h')
-rw-r--r-- | zebra/interface.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index 1dbcf33fa..ce404e825 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -28,6 +28,10 @@ #include "zebra/zebra_l2.h" +#ifdef __cplusplus +extern "C" { +#endif + /* For interface multicast configuration. */ #define IF_ZEBRA_MULTICAST_UNSPEC 0 #define IF_ZEBRA_MULTICAST_ON 1 @@ -432,4 +436,8 @@ extern int interface_list_proc(void); extern int ifaddr_proc_ipv6(void); #endif /* HAVE_PROC_NET_IF_INET6 */ +#ifdef __cplusplus +} +#endif + #endif /* _ZEBRA_INTERFACE_H */ |