diff options
author | Karel Zak | 2012-01-05 17:01:19 +0100 |
---|---|---|
committer | Karel Zak | 2012-01-05 17:01:19 +0100 |
commit | 67aa2fc7950812093f710cba0585e0fab71dc84e (patch) | |
tree | 4b555cdd1dd9753246d01ae76c79f3afcb83a73f /fdisk | |
parent | sfdisk: remove PACKED macro (diff) | |
download | kernel-qcow2-util-linux-67aa2fc7950812093f710cba0585e0fab71dc84e.tar.gz kernel-qcow2-util-linux-67aa2fc7950812093f710cba0585e0fab71dc84e.tar.xz kernel-qcow2-util-linux-67aa2fc7950812093f710cba0585e0fab71dc84e.zip |
fdisk: remove PACKED macro
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk')
-rw-r--r-- | fdisk/fdisk.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fdisk/fdisk.h b/fdisk/fdisk.h index 84be09c86..9957d7652 100644 --- a/fdisk/fdisk.h +++ b/fdisk/fdisk.h @@ -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 */ @@ -43,7 +37,7 @@ struct partition { unsigned char end_cyl; /* end cylinder */ unsigned char start4[4]; /* starting sector counting from 0 */ unsigned char size4[4]; /* nr of sectors in partition */ -} PACKED; +} __attribute__ ((packed)); enum menutype { MAIN_MENU, |