summaryrefslogtreecommitdiff
path: root/util-linux/volume_id/iso9660.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-09-16 00:58:11 +0200
committerDenys Vlasenko2009-09-16 00:58:11 +0200
commit8dc0e1929e3af3b1673e5a8e486808386400c020 (patch)
tree0550684999338af8f15de76c5599f9dead3fdfd6 /util-linux/volume_id/iso9660.c
parentf2c184be835fbcbd04d06fce22783c6a5d37b563 (diff)
downloadbusybox-8dc0e1929e3af3b1673e5a8e486808386400c020.zip
busybox-8dc0e1929e3af3b1673e5a8e486808386400c020.tar.gz
use PACKED macro insted of open-coding GCC-ism
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/volume_id/iso9660.c')
-rw-r--r--util-linux/volume_id/iso9660.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/volume_id/iso9660.c b/util-linux/volume_id/iso9660.c
index 82f5e48..76fa546 100644
--- a/util-linux/volume_id/iso9660.c
+++ b/util-linux/volume_id/iso9660.c
@@ -38,14 +38,14 @@ struct iso_volume_descriptor {
uint8_t unused[8];
uint8_t space_size[8];
uint8_t escape_sequences[8];
-} __attribute__((__packed__));
+} PACKED;
struct high_sierra_volume_descriptor {
uint8_t foo[8];
uint8_t type;
uint8_t id[4];
uint8_t version;
-} __attribute__((__packed__));
+} PACKED;
int volume_id_probe_iso9660(struct volume_id *id /*,uint64_t off*/)
{