Fix: define _LGPL_SOURCE in C files
[lttng-tools.git] / src / bin / lttng-relayd / lttng-relayd.h
index 55ce25ea6ff162871f2deb711e04ab26b587f07b..0a3ce47404cea9f6c1692209dc8ab4a325d204fc 100644 (file)
 #ifndef LTTNG_RELAYD_H
 #define LTTNG_RELAYD_H
 
-#define _LGPL_SOURCE
 #include <limits.h>
 #include <urcu.h>
-#include <urcu/wfqueue.h>
+#include <urcu/wfcqueue.h>
 
 #include <common/hashtable/hashtable.h>
 
@@ -30,7 +29,8 @@
  * Queue used to enqueue relay requests
  */
 struct relay_conn_queue {
-       struct cds_wfq_queue queue;
+       struct cds_wfcq_head head;
+       struct cds_wfcq_tail tail;
        int32_t futex;
 };
 
This page took 0.033233 seconds and 5 git commands to generate.