X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context.c;h=eeaaae4321219af741b83261e59d624ffda233eb;hb=9b3a9a1f8ee47787e50a130b444dae38eee5dca0;hp=4e5b308466212563acc2342ecb929c00349dad35;hpb=ce47f5d8417e9cc78e41be04428f4837071ae79b;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context.c b/liblttng-ust/lttng-context.c index 4e5b3084..eeaaae43 100644 --- a/liblttng-ust/lttng-context.c +++ b/liblttng-ust/lttng-context.c @@ -20,7 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ - +#define _LGPL_SOURCE #include #include #include @@ -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) +{ +}