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

@ -27,7 +27,7 @@ struct swap_header_v1_2 {
uint32_t nr_badpages;
uint8_t uuid[16];
uint8_t volume_name[16];
} __attribute__((__packed__));
} PACKED;
#define LARGEST_PAGESIZE 0x4000