X-Git-Url: http://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=wfstack.c;h=e9799e6d67b2a1a9b58f6912a7b95576810e6fcb;hp=db29558536e463b20fea8d8d6fb9c7bf94a2797b;hb=541d828d3101283ccdb1e25fa5a885e1d1743c1a;hpb=16aa9ee87cf4364921c36025359be01390338d87 diff --git a/wfstack.c b/wfstack.c index db29558..e9799e6 100644 --- a/wfstack.c +++ b/wfstack.c @@ -22,7 +22,7 @@ /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */ #include "urcu/wfstack.h" -#include "urcu/wfstack-static.h" +#include "urcu/static/wfstack.h" /* * library wrappers to be used by non-LGPL compatible source code. @@ -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)