urcu-call-rcu.h is included by rculfhqueue.h only for struct rcu_head
forward declaration, but as a result the urcu flavor needs to be chosen
beforehand, and therefore prevents using rculfqueue.h with multiple
urcu flavors in a given compile unit.
Remove that include and do a forward declaration of struct rcu_head
instead.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
#include <assert.h>
-#include <urcu-call-rcu.h>
#ifdef __cplusplus
extern "C" {
#endif
struct cds_lfq_queue_rcu;
+struct rcu_head;
struct cds_lfq_node_rcu {
struct cds_lfq_node_rcu *next;