]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/ide/atapi.c
Use new macro QEMU_PACKED for packed structures
[mirror_qemu.git] / hw / ide / atapi.c
index c552320122aa9e9f8c314cf27d76ee3f4e8aef28..f38d2896ae4c4eff77e7972b66e44fda436ef693 100644 (file)
@@ -557,13 +557,13 @@ static void cmd_get_event_status_notification(IDEState *s,
         uint8_t reserved3[2];
         uint16_t len;
         uint8_t control;
-    } __attribute__((packed)) *gesn_cdb;
+    } QEMU_PACKED *gesn_cdb;
 
     struct {
         uint16_t len;
         uint8_t notification_class;
         uint8_t supported_events;
-    } __attribute((packed)) *gesn_event_header;
+    } QEMU_PACKED *gesn_event_header;
 
     enum notification_class_request_type {
         NCR_RESERVED1 = 1 << 0,