fdisk: remove packed definitions
PATCH 4/5 fdisk: remove packed definitions
From: Davidlohr Bueso <[email protected]>
Signed-off-by Davidlohr Bueso <[email protected]>
--- fdisk/fdisk.h | 6 ------ 1 files changed, 0 insertions(+), 6 deletions(-)
fdisk/fdisk.h +0 -6
@@ -26,12 +26,6 @@#define cround (n) (display_in_cyl_units ? ((n)/units_per_sector)+1 : (n))#define scround (x) (((x)+units_per_sector-1)/units_per_sector) -#if defined(__GNUC__) && (defined(__arm__) || defined(__alpha__)) -# define PACKED __attribute__ ((packed)) -#else -# define PACKED -#endif -struct partition {unsigned char boot_ind;/* 0x80 - active */ unsigned char head;/* starting head */
Signature · 1 line
1.7.4.1
Hi!
fdisk/fdisk.h line 31
Quoted 13 lines · Davidlohr Bueso
fdisk/fdisk.h +0
-6@@ -26,12 +26,6 @@#define cround (n) (display_in_cyl_units ? ((n)/units_per_sector)+1 : (n))#define scround (x) (((x)+units_per_sector-1)/units_per_sector) -#if defined(__GNUC__) && (defined(__arm__) || defined(__alpha__)) -# define PACKED __attribute__ ((packed)) -#else -# define PACKED -#endif -struct partition {unsigned char boot_ind;/* 0x80 - active */ unsigned char head;/* starting head */
Why not merge this commit with the previous one? They are for the same logical change, and otherwise it termporarily introduces a warning.
regards,
guillem