Remove the LTTNG_PACKED macro
[lttng-ust.git] / liblttng-ust / bytecode.h
index 4b4b33b62cf170fc1ae1dc3d5b9cac56f508b7c3..25ade988f8086fc8df53cda83addebb138dee5ea 100644 (file)
 #include <stdint.h>
 #include <lttng/ust-abi.h>
 
-#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;
This page took 0.02422 seconds and 4 git commands to generate.