X-Git-Url: http://git.liburcu.org/?p=userspace-rcu.git;a=blobdiff_plain;f=rculfstack.c;fp=rculfstack.c;h=f58628ce4ea06f55185fb75682cbc9f6b974ef36;hp=aa906af9480c66efce8c35ccf8d2b3625b9aabfd;hb=e1a3b81e201ccfd019dae3778bd6ba0bd1e545e4;hpb=b194c06ef206b0fcf7f1e646fe7c1e8afa8766ce diff --git a/rculfstack.c b/rculfstack.c index aa906af..f58628c 100644 --- a/rculfstack.c +++ b/rculfstack.c @@ -51,9 +51,10 @@ void cds_lfs_init_rcu(struct cds_lfs_stack_rcu *s) _cds_lfs_init_rcu(s); } -void cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, struct cds_lfs_node_rcu *node) +int cds_lfs_push_rcu(struct cds_lfs_stack_rcu *s, + struct cds_lfs_node_rcu *node) { - _cds_lfs_push_rcu(s, node); + return _cds_lfs_push_rcu(s, node); } struct cds_lfs_node_rcu *cds_lfs_pop_rcu(struct cds_lfs_stack_rcu *s)