X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fbytecode.h;h=89f8d0fcfa88ce39191b200ac47acf2e317e0a08;hb=a62977cac65f63f20625dd501282de1ea0156ee0;hp=6bb20b8326554860d6d01255bcf4611c03e5892b;hpb=6be48c9f6a32cdcab9824aaad0c19f92222633c4;p=lttng-modules.git diff --git a/include/lttng/bytecode.h b/include/lttng/bytecode.h index 6bb20b83..89f8d0fc 100644 --- a/include/lttng/bytecode.h +++ b/include/lttng/bytecode.h @@ -40,10 +40,6 @@ struct literal_double { double v; } __attribute__((packed)); -struct literal_string { - char string[0]; -} __attribute__((packed)); - enum bytecode_op { BYTECODE_OP_UNKNOWN = 0, @@ -196,7 +192,7 @@ typedef uint8_t bytecode_opcode_t; struct load_op { bytecode_opcode_t op; - char data[0]; + char data[]; /* data to load. Size known by enum filter_opcode and null-term char. */ } __attribute__((packed));