projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
[urcu.git]
/
src
/
urcu-wait.h
diff --git
a/src/urcu-wait.h
b/src/urcu-wait.h
index 93e8e516d868e7bba5b481416d3095b3154fc3fb..aabb17c157228f56bf6c7f7da777d12abc97b4d4 100644
(file)
--- a/
src/urcu-wait.h
+++ b/
src/urcu-wait.h
@@
-50,7
+50,7
@@
struct urcu_wait_node {
};
#define URCU_WAIT_NODE_INIT(name, _state) \
- { .state = _state }
+ { .
node = { .next = NULL }, .
state = _state }
#define DEFINE_URCU_WAIT_NODE(name, state) \
struct urcu_wait_node name = URCU_WAIT_NODE_INIT(name, state)
This page took
0.02273 seconds
and
4
git commands to generate.