Aggregate initialization is not supported in C. Change the syntax to use
a compound literal.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I630ca41b13ea730e699e53ae9a23bdd78acbed57
- stream->send_node = CDS_LIST_HEAD_INIT(stream->send_node);
+ stream->send_node = (typeof(stream->send_node))
+ CDS_LIST_HEAD_INIT(stream->send_node);
stream->chan = channel;
stream->key = stream_key;
stream->trace_chunk = trace_chunk;
stream->chan = channel;
stream->key = stream_key;
stream->trace_chunk = trace_chunk;