X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=wfcqueue.c;h=7f8b588e997b31c0d199ace6c14a4507d9b6b02a;hb=refs%2Fheads%2Fstable-0.8;hp=4950c1008ebbd69c51bff06ae6cf929ef4bc5b73;hpb=eec791af9cc9835682c2a72020171eb64737aff7;p=userspace-rcu.git diff --git a/wfcqueue.c b/wfcqueue.c index 4950c10..7f8b588 100644 --- a/wfcqueue.c +++ b/wfcqueue.c @@ -40,9 +40,14 @@ void cds_wfcq_init(struct cds_wfcq_head *head, _cds_wfcq_init(head, tail); } -bool cds_wfcq_empty(struct cds_wfcq_head *head, +void cds_wfcq_destroy(struct cds_wfcq_head *head, struct cds_wfcq_tail *tail) +{ + _cds_wfcq_destroy(head, tail); +} +bool cds_wfcq_empty(struct cds_wfcq_head *head, + struct cds_wfcq_tail *tail) { return _cds_wfcq_empty(head, tail); }