X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=wfcqueue.c;h=7f8b588e997b31c0d199ace6c14a4507d9b6b02a;hb=93aee570e96c48843659caa12667ff7157734532;hp=4950c1008ebbd69c51bff06ae6cf929ef4bc5b73;hpb=96bd49dfcb6476da907cf7ebd9e245014879e9f2;p=urcu.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); }