chiark / gitweb /
volume_id: replace __packed__ by PACKED macro
[elogind.git] / extras / volume_id / libvolume_id / mac.c
index 53f0761c8a86300a376db2486312f9b807f488d4..78ef9fc803d442ded7ec2ecc38ead41c85026f33 100644 (file)
@@ -31,7 +31,7 @@ struct mac_driver_desc {
        uint8_t         signature[2];
        uint16_t        block_size;
        uint32_t        block_count;
-} __attribute__((__packed__));
+} PACKED;
 
 struct mac_partition {
        uint8_t         signature[2];
@@ -41,7 +41,7 @@ struct mac_partition {
        uint32_t        block_count;
        uint8_t         name[32];
        uint8_t         type[32];
-} __attribute__((__packed__));
+} PACKED;
 
 int volume_id_probe_mac_partition_map(struct volume_id *id, uint64_t off)
 {