summaryrefslogtreecommitdiff
path: root/extras/volume_id/libvolume_id/reiserfs.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-02-21 18:44:18 +0100
committerKay Sievers <kay.sievers@suse.de>2006-02-21 18:44:18 +0100
commit467546b586e9ae29ac168967f5cdaac696cadcfb (patch)
tree21e5a908ab1bb9d057134df39afb6ce384f5a8f4 /extras/volume_id/libvolume_id/reiserfs.c
parent559776036744f6dc4e475851ae646ee1c0c51631 (diff)
volume_id: replace __packed__ by PACKED macro
Diffstat (limited to 'extras/volume_id/libvolume_id/reiserfs.c')
-rw-r--r--extras/volume_id/libvolume_id/reiserfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/volume_id/libvolume_id/reiserfs.c b/extras/volume_id/libvolume_id/reiserfs.c
index 0eecbda5cb..91a5bcb9b0 100644
--- a/extras/volume_id/libvolume_id/reiserfs.c
+++ b/extras/volume_id/libvolume_id/reiserfs.c
@@ -42,7 +42,7 @@ struct reiserfs_super_block {
uint32_t dummy4[5];
uint8_t uuid[16];
uint8_t label[16];
-} __attribute__((__packed__));
+} PACKED;
struct reiser4_super_block {
uint8_t magic[16];
@@ -50,7 +50,7 @@ struct reiser4_super_block {
uint8_t uuid[16];
uint8_t label[16];
uint64_t dummy2;
-} __attribute__((__packed__));
+} PACKED;
#define REISERFS1_SUPERBLOCK_OFFSET 0x2000
#define REISERFS_SUPERBLOCK_OFFSET 0x10000