X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-abi.c;h=76af511f582836553ee4d5622ed204432ddfe1b4;hb=25c9a6e9fdb95d9d1c57463ab513ab1db197128d;hp=e03024f49d2bade05e0b5472ddfb50f373e20ae4;hpb=4ab44fbe7377ad603da7dccebf2e0af6b768fa91;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-abi.c b/liblttng-ust/lttng-ust-abi.c index e03024f4..76af511f 100644 --- a/liblttng-ust/lttng-ust-abi.c +++ b/liblttng-ust/lttng-ust-abi.c @@ -28,8 +28,9 @@ #include #include #include -#include -#include "lttng/core.h" +#include +#include +#include #include "ltt-tracer.h" #include "tracepoint-internal.h" @@ -249,9 +250,9 @@ static long lttng_abi_tracer_version(int objd, struct lttng_ust_tracer_version *v) { - v->version = LTTNG_UST_VERSION; - v->patchlevel = LTTNG_UST_PATCHLEVEL; - v->sublevel = LTTNG_UST_SUBLEVEL; + v->major = LTTNG_UST_MAJOR_VERSION; + v->minor = LTTNG_UST_MINOR_VERSION; + v->patchlevel = LTTNG_UST_PATCHLEVEL_VERSION; return 0; }