Fix uninitialized state at constructor execution.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
const struct lttng_ust_lib_ring_buffer_client_cb *lttng_client_callbacks_discard;
const struct lttng_ust_lib_ring_buffer_client_cb *lttng_client_callbacks_overwrite;
-struct cds_list_head ltt_transport_list;
struct ltt_transport *ltt_transport_find(const char *name);
#endif /* _LTTNG_UST_EVENTS_H */
#include <lttng/ust-events.h>
#include <stdlib.h>
-CDS_LIST_HEAD(ltt_transport_list);
+static CDS_LIST_HEAD(ltt_transport_list);
void init_usterr(void)
{