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/ioctl.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/ioctl.h')
-rw-r--r-- | zebra/ioctl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/ioctl.h b/zebra/ioctl.h index 2a8ea7790..67ffd45a0 100644 --- a/zebra/ioctl.h +++ b/zebra/ioctl.h @@ -22,6 +22,10 @@ #ifndef _ZEBRA_IOCTL_H #define _ZEBRA_IOCTL_H +#ifdef __cplusplus +extern "C" { +#endif + /* Prototypes. */ extern void ifreq_set_name(struct ifreq *, struct interface *); extern int if_ioctl(unsigned long, caddr_t); @@ -53,4 +57,8 @@ extern struct connected *if_lookup_linklocal(struct interface *); #endif /* SOLARIS_IPV6 */ +#ifdef __cplusplus +} +#endif + #endif /* _ZEBRA_IOCTL_H */ |