summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
938465b)
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 <urcu-call-rcu.h>
#ifdef __cplusplus
extern "C" {
#endif
struct cds_lfq_queue_rcu;
#ifdef __cplusplus
extern "C" {
#endif
struct cds_lfq_queue_rcu;
struct cds_lfq_node_rcu {
struct cds_lfq_node_rcu *next;
struct cds_lfq_node_rcu {
struct cds_lfq_node_rcu *next;