From 51e94aa7b167b5197f634eec11dc456994787993 Mon Sep 17 00:00:00 2001 From: Emanuele Di Pascale Date: Mon, 25 Mar 2019 15:11:55 +0100 Subject: add cplusplus guards to all zebra headers Signed-off-by: Emanuele Di Pascale --- zebra/ioctl.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'zebra/ioctl.h') 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 */ -- cgit v1.2.3