]> git.proxmox.com Git - mirror_qemu.git/blobdiff - block/parallels.c
Use new macro QEMU_PACKED for packed structures
[mirror_qemu.git] / block / parallels.c
index 37d151dcb5f74e3bf28c457bfe65657cd7e001a8..c64103ddbb1f9d78096d054ffe3dba27ca4f928a 100644 (file)
@@ -43,7 +43,7 @@ struct parallels_header {
     uint32_t catalog_entries;
     uint32_t nb_sectors;
     char padding[24];
-} __attribute__((packed));
+} QEMU_PACKED;
 
 typedef struct BDRVParallelsState {