use PACKED macro insted of open-coding GCC-ism

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2009-09-16 00:58:11 +02:00
parent f2c184be83
commit 8dc0e1929e
31 changed files with 70 additions and 70 deletions

View File

@@ -35,7 +35,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];
@@ -43,7 +43,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