Fix: re-introduce exported symbols
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 25 Apr 2016 17:12:51 +0000 (13:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 25 Apr 2016 17:13:47 +0000 (13:13 -0400)
Keep those exported symbols for backward shared object compatibility.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-events.h
liblttng-ust/lttng-context.c

index 1acba2ad6ff7669cf09f7b5435c22761255971c5..9f6aa06296bb23744e4ec333f7094114d176c17f 100644 (file)
@@ -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
index 4e5b308466212563acc2342ecb929c00349dad35..33a4cdd1d41477e54fad06fc13c22d1b4e543b2f 100644 (file)
@@ -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)
+{
+}
This page took 0.026352 seconds and 4 git commands to generate.