]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/wheel.h
lib: add extern "C" {} blocks to all libfrr headers
[mirror_frr.git] / lib / wheel.h
index c8e83fafcb81ea3f4753121d0158554f754276ad..e66751c1d092a135dee1fb8f0c243ac522a34c94 100644 (file)
 #ifndef __WHEEL_H__
 #define __WHEEL_H__
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct timer_wheel {
        char *name;
        struct thread_master *master;
@@ -115,4 +119,8 @@ int wheel_add_item(struct timer_wheel *wheel, void *item);
  */
 int wheel_remove_item(struct timer_wheel *wheel, void *item);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif