projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rculfhash test: cast rand_r return value directly
[urcu.git]
/
wfstack.c
diff --git
a/wfstack.c
b/wfstack.c
index db29558536e463b20fea8d8d6fb9c7bf94a2797b..e9799e6d67b2a1a9b58f6912a7b95576810e6fcb 100644
(file)
--- 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"
/* 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.
/*
* 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);
}
_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)
}
struct cds_wfs_node *__cds_wfs_pop_blocking(struct cds_wfs_stack *s)
This page took
0.026721 seconds
and
4
git commands to generate.