X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Fbytecode.h;h=25ade988f8086fc8df53cda83addebb138dee5ea;hb=7489fcb466935b3eeb36e99afbbb87188278cb91;hp=4b4b33b62cf170fc1ae1dc3d5b9cac56f508b7c3;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/liblttng-ust/bytecode.h b/liblttng-ust/bytecode.h index 4b4b33b6..25ade988 100644 --- a/liblttng-ust/bytecode.h +++ b/liblttng-ust/bytecode.h @@ -10,10 +10,6 @@ #include #include -#ifndef LTTNG_PACKED -#error "LTTNG_PACKED should be defined" -#endif - /* * offsets are absolute from start of bytecode. */ @@ -26,15 +22,15 @@ struct field_ref { struct get_symbol { /* Symbol offset. */ uint16_t offset; -} LTTNG_PACKED; +} __attribute__((packed)); struct get_index_u16 { uint16_t index; -} LTTNG_PACKED; +} __attribute__((packed)); struct get_index_u64 { uint64_t index; -} LTTNG_PACKED; +} __attribute__((packed)); struct literal_numeric { int64_t v;