X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=wfstack.c;h=e9799e6d67b2a1a9b58f6912a7b95576810e6fcb;hp=d999a5b433dee30a979a5c99c31e20680e2ace81;hb=1228af1ceae83f0886de7fb593b8e57e1a74e1db;hpb=bc2433a9853a945a825c244e9ccfe341b73b2ceb diff --git a/wfstack.c b/wfstack.c index d999a5b..e9799e6 100644 --- a/wfstack.c +++ b/wfstack.c @@ -38,9 +38,9 @@ void cds_wfs_init(struct cds_wfs_stack *s) _cds_wfs_init(s); } -void cds_wfs_push(struct cds_wfs_stack *s, struct cds_wfs_node *node) +int cds_wfs_push(struct cds_wfs_stack *s, struct cds_wfs_node *node) { - _cds_wfs_push(s, node); + return _cds_wfs_push(s, node); } struct cds_wfs_node *__cds_wfs_pop_blocking(struct cds_wfs_stack *s)