]> git.proxmox.com Git - qemu.git/blobdiff - hw/hpet_emul.h
Use new macro QEMU_PACKED for packed structures
[qemu.git] / hw / hpet_emul.h
index 8bf312ab21f38886f9aaee5a3e625308e3df6faf..6128702533b7d010d50914d2c152610ec723ff55 100644 (file)
@@ -59,13 +59,13 @@ struct hpet_fw_entry
     uint64_t address;
     uint16_t min_tick;
     uint8_t page_prot;
-} __attribute__ ((packed));
+} QEMU_PACKED;
 
 struct hpet_fw_config
 {
     uint8_t count;
     struct hpet_fw_entry hpet[8];
-} __attribute__ ((packed));
+} QEMU_PACKED;
 
 extern struct hpet_fw_config hpet_cfg;
 #endif