lttng_static_ctx should be extern in this header to avoid getting a
warning when --warn-common is used.
PS: Thanks to Yannick Brosseau for his help.
Signed-off-by: Mohamad Gebai <mohamad.gebai@polymtl.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
struct lttng_ctx **ctx, struct lttng_session *session);
void lttng_context_init(void);
void lttng_context_exit(void);
-struct lttng_ctx *lttng_static_ctx; /* Used by filtering */
+extern struct lttng_ctx *lttng_static_ctx; /* Used by filtering */
void lttng_transport_register(struct lttng_transport *transport);
void lttng_transport_unregister(struct lttng_transport *transport);