]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/nexthop_group.h
lib: add extern "C" {} blocks to all libfrr headers
[mirror_frr.git] / lib / nexthop_group.h
index b31ec7f06cadd6c9e41001f6a292321329e3adcf..b14cbb5b5c7314ebd0a7d7d2428bc085765fc24b 100644 (file)
 
 #include <vty.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * What is a nexthop group?
  *
@@ -110,4 +114,9 @@ extern struct nexthop *nexthop_exists(struct nexthop_group *nhg,
 extern struct nexthop_group_cmd *nhgc_find(const char *name);
 
 extern void nexthop_group_write_nexthop(struct vty *vty, struct nexthop *nh);
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif