X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=wfqueue.c;h=509f4f9c6275b1511916f7046c40ffbd978c99d7;hp=33371718420c21ea70893ee44e53fdf973a9fa1f;hb=2af1c19e6a553878fcb2a5106f050d5ed7ac0f54;hpb=9d2614f07691a813a3c560a6c0bcd0a7be854ed5 diff --git a/wfqueue.c b/wfqueue.c index 3337171..509f4f9 100644 --- a/wfqueue.c +++ b/wfqueue.c @@ -20,6 +20,9 @@ * 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" #include "urcu/static/wfqueue.h" @@ -38,6 +41,11 @@ void cds_wfq_init(struct cds_wfq_queue *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);