X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Furcu-wait.h;fp=src%2Furcu-wait.h;h=21cd85dcfdadfde706af3cf085112d68987d1984;hb=3a10734e5c475792ce16f9d0f254cec43083ead7;hp=7cb2052d273fb192f266e715b7c2fea74cd1b446;hpb=1c4d5f773914cd249f4a5c35d883ecc4c95ae20b;p=userspace-rcu.git diff --git a/src/urcu-wait.h b/src/urcu-wait.h index 7cb2052..21cd85d 100644 --- a/src/urcu-wait.h +++ b/src/urcu-wait.h @@ -49,7 +49,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)