From: Mathieu Desnoyers Date: Mon, 25 Apr 2016 17:12:51 +0000 (-0400) Subject: Fix: re-introduce exported symbols X-Git-Tag: v2.8.0-rc2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ce90ea45ccb269066ac1662f0ed7b451cb380de7;p=lttng-ust.git Fix: re-introduce exported symbols Keep those exported symbols for backward shared object compatibility. Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index 1acba2ad..9f6aa062 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -722,6 +722,11 @@ struct cds_list_head *_lttng_get_sessions(void); struct lttng_enum *lttng_ust_enum_get(struct lttng_session *session, const char *enum_name); +/* For backward compatibility. Leave those exported symbols in place. */ +extern struct lttng_ctx *lttng_static_ctx; +void lttng_context_init(void); +void lttng_context_exit(void); + #ifdef __cplusplus } #endif diff --git a/liblttng-ust/lttng-context.c b/liblttng-ust/lttng-context.c index 4e5b3084..33a4cdd1 100644 --- a/liblttng-ust/lttng-context.c +++ b/liblttng-ust/lttng-context.c @@ -379,3 +379,14 @@ error: lttng_destroy_context(*ctx); return ret; } + +/* For backward compatibility. Leave those exported symbols in place. */ +struct lttng_ctx *lttng_static_ctx; + +void lttng_context_init(void) +{ +} + +void lttng_context_exit(void) +{ +}