]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/yang.h
lib: add extern "C" {} blocks to all libfrr headers
[mirror_frr.git] / lib / yang.h
index 3259189e987099ba9ab83f1c388a8b25e999b258..4680db08d40f012c3624b9a07520af8084c5e814 100644 (file)
 
 #include "yang_wrappers.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 DECLARE_MTYPE(YANG_MODULE)
 DECLARE_MTYPE(YANG_DATA)
 
@@ -521,4 +525,8 @@ extern void yang_init(void);
  */
 extern void yang_terminate(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _FRR_YANG_H_ */