X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=filter-bytecode.h;h=09cea497e736ee587b95a70bc4976c9ca165aea3;hb=ad48a5c028e7a485678341e5c4412749a314b692;hp=65d34f02edb43d5125e354efa46908c6bf167222;hpb=104eadd2e2a00b0ab09e3a459a893f78b006ae17;p=lttng-modules.git diff --git a/filter-bytecode.h b/filter-bytecode.h index 65d34f02..09cea497 100644 --- a/filter-bytecode.h +++ b/filter-bytecode.h @@ -40,10 +40,6 @@ struct literal_double { double v; } __attribute__((packed)); -struct literal_string { - char string[0]; -} __attribute__((packed)); - enum filter_op { FILTER_OP_UNKNOWN = 0, @@ -196,7 +192,7 @@ typedef uint8_t filter_opcode_t; struct load_op { filter_opcode_t op; - char data[0]; + char data[]; /* data to load. Size known by enum filter_opcode and null-term char. */ } __attribute__((packed));