]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/frrcu.h
tests: Topotest fixes to skip comparing InterfaceIndex and Internal status in json_cmp
[mirror_frr.git] / lib / frrcu.h
index 06d87c39f1dd3debb1987b346156641d77e9fb28..47751ae7df395a01fd82b0c1ff6d53cd1597737a 100644 (file)
 
 #include "memory.h"
 #include "atomlist.h"
-#include "seqlock.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* quick RCU primer:
  *   There's a global sequence counter.  Whenever a thread does a
@@ -171,4 +174,8 @@ extern void rcu_enqueue(struct rcu_head *head, const struct rcu_action *action);
 
 extern void rcu_close(struct rcu_head_close *head, int fd);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _FRRCU_H */