Performance: define _LGPL_SOURCE in LGPL c files
[lttng-ust.git] / liblttng-ust / lttng-context.c
index 4e5b308466212563acc2342ecb929c00349dad35..eeaaae4321219af741b83261e59d624ffda233eb 100644 (file)
@@ -20,7 +20,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-
+#define _LGPL_SOURCE
 #include <lttng/ust-events.h>
 #include <lttng/ust-tracer.h>
 #include <lttng/ust-context-provider.h>
@@ -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.022906 seconds and 4 git commands to generate.