use PACKED macro insted of open-coding GCC-ism
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user