]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/irdp.h
*: s/TRUE/true/, s/FALSE/false/
[mirror_frr.git] / zebra / irdp.h
index 4800e75be378213f162e24f64eabf7e1231ed468..ff4ab8dfbd2ac9068147cc51359a53296b4c10bf 100644 (file)
@@ -28,8 +28,9 @@
 
 #include "lib/vty.h"
 
-#define TRUE 1
-#define FALSE 0
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* ICMP Messages */
 #ifndef ICMP_ROUTERADVERT
@@ -150,5 +151,8 @@ extern int irdp_read_raw(struct thread *r);
 extern void send_packet(struct interface *ifp, struct stream *s, uint32_t dst,
                        struct prefix *p, uint32_t ttl);
 
+#ifdef __cplusplus
+}
+#endif
 
 #endif /* _IRDP_H */