X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flib%2Flttng-ust%2Flttng-bytecode.c;h=9222e1cc2d5091110a0d626e9368a2a1911cfe2f;hb=cbc06a3bd9abe653eaf278cdf4be8bf28dcca267;hp=68108192d08158ca68e868e76fdcf590778862a5;hpb=6339062a5bbe886493d0691d13e28e37a7206362;p=lttng-ust.git diff --git a/src/lib/lttng-ust/lttng-bytecode.c b/src/lib/lttng-ust/lttng-bytecode.c index 68108192..9222e1cc 100644 --- a/src/lib/lttng-ust/lttng-bytecode.c +++ b/src/lib/lttng-ust/lttng-bytecode.c @@ -14,7 +14,7 @@ #include "context-internal.h" #include "lttng-bytecode.h" -#include "ust-events-internal.h" +#include "lib/lttng-ust/events.h" #include "common/macros.h" static const char *opnames[] = { @@ -179,7 +179,7 @@ int apply_field_reloc(const struct lttng_ust_event_desc *event_desc, const char *field_name, enum bytecode_op bytecode_op) { - const struct lttng_ust_event_field **fields, *field = NULL; + const struct lttng_ust_event_field * const *fields, *field = NULL; unsigned int nr_fields, i; struct load_op *op; uint32_t field_offset = 0;