projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests fix: unused variable warnings
[userspace-rcu.git]
/
wfqueue.c
diff --git
a/wfqueue.c
b/wfqueue.c
index dc7bdfc50f1dde9272a61e9ab766cdb16eceb32c..509f4f9c6275b1511916f7046c40ffbd978c99d7 100644
(file)
--- a/
wfqueue.c
+++ b/
wfqueue.c
@@
-20,9
+20,12
@@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/* Remove deprecation warnings from LGPL wrapper build. */
+#define CDS_WFQ_DEPRECATED
+
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#include "urcu/wfqueue.h"
/* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
#include "urcu/wfqueue.h"
-#include "urcu/
wfqueue-static
.h"
+#include "urcu/
static/wfqueue
.h"
/*
* library wrappers to be used by non-LGPL compatible source code.
/*
* library wrappers to be used by non-LGPL compatible source code.
@@
-38,6
+41,11
@@
void cds_wfq_init(struct cds_wfq_queue *q)
_cds_wfq_init(q);
}
_cds_wfq_init(q);
}
+void cds_wfq_destroy(struct cds_wfq_queue *q)
+{
+ _cds_wfq_destroy(q);
+}
+
void cds_wfq_enqueue(struct cds_wfq_queue *q, struct cds_wfq_node *node)
{
_cds_wfq_enqueue(q, node);
void cds_wfq_enqueue(struct cds_wfq_queue *q, struct cds_wfq_node *node)
{
_cds_wfq_enqueue(q, node);
This page took
0.034333 seconds
and
4
git commands to generate.