X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=urcu%2Fwfstack.h;h=db2ee0c005a85b261997bc10a3a1c72bcb73a809;hb=cf77d1fac55a2b5c711d26b6fff22c68cf52dc72;hp=c13ba64aeb20a1620ed13adb88fb85512f46e600;hpb=16aa9ee87cf4364921c36025359be01390338d87;p=urcu.git diff --git a/urcu/wfstack.h b/urcu/wfstack.h index c13ba64..db2ee0c 100644 --- a/urcu/wfstack.h +++ b/urcu/wfstack.h @@ -42,7 +42,7 @@ struct cds_wfs_stack { #ifdef _LGPL_SOURCE -#include +#include #define cds_wfs_node_init _cds_wfs_node_init #define cds_wfs_init _cds_wfs_init @@ -54,7 +54,7 @@ struct cds_wfs_stack { extern void cds_wfs_node_init(struct cds_wfs_node *node); extern void cds_wfs_init(struct cds_wfs_stack *s); -extern void cds_wfs_push(struct cds_wfs_stack *s, struct cds_wfs_node *node); +extern int cds_wfs_push(struct cds_wfs_stack *s, struct cds_wfs_node *node); /* __cds_wfs_pop_blocking: caller ensures mutual exclusion between pops */ extern struct cds_wfs_node *__cds_wfs_pop_blocking(struct cds_wfs_stack *s); extern struct cds_wfs_node *cds_wfs_pop_blocking(struct cds_wfs_stack *s);