diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-02-21 18:44:18 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-02-21 18:44:18 +0100 |
commit | 467546b586e9ae29ac168967f5cdaac696cadcfb (patch) | |
tree | 21e5a908ab1bb9d057134df39afb6ce384f5a8f4 /extras/volume_id/libvolume_id/highpoint.c | |
parent | 559776036744f6dc4e475851ae646ee1c0c51631 (diff) |
volume_id: replace __packed__ by PACKED macro
Diffstat (limited to 'extras/volume_id/libvolume_id/highpoint.c')
-rw-r--r-- | extras/volume_id/libvolume_id/highpoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/libvolume_id/highpoint.c b/extras/volume_id/libvolume_id/highpoint.c index 721b7ab26f..78a4ad82b4 100644 --- a/extras/volume_id/libvolume_id/highpoint.c +++ b/extras/volume_id/libvolume_id/highpoint.c @@ -30,11 +30,11 @@ struct hpt37x_meta { uint8_t filler1[32]; uint32_t magic; -} __attribute__((packed)); +} PACKED; struct hpt45x_meta { uint32_t magic; -} __attribute__((packed)); +} PACKED; #define HPT37X_CONFIG_OFF 0x1200 #define HPT37X_MAGIC_OK 0x5a7816f0 |