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

@@ -48,7 +48,7 @@ struct sysv_super {
uint32_t s_state;
uint32_t s_magic;
uint32_t s_type;
} __attribute__((__packed__));
} PACKED;
#define XENIX_NICINOD 100
#define XENIX_NICFREE 100
@@ -74,7 +74,7 @@ struct xenix_super {
uint8_t s_fill[371];
uint32_t s_magic;
uint32_t s_type;
} __attribute__((__packed__));
} PACKED;
#define SYSV_SUPERBLOCK_BLOCK 0x01
#define SYSV_MAGIC 0xfd187e20