diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-16 00:58:11 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-09-16 00:58:11 +0200 |
commit | 8dc0e1929e3af3b1673e5a8e486808386400c020 (patch) | |
tree | 0550684999338af8f15de76c5599f9dead3fdfd6 /archival/libunarchive/decompress_unzip.c | |
parent | f2c184be835fbcbd04d06fce22783c6a5d37b563 (diff) | |
download | 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 'archival/libunarchive/decompress_unzip.c')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index b090f26eb..c571ab438 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -1117,7 +1117,7 @@ static int check_header_gzip(STATE_PARAM unpack_info_t *info) uint32_t mtime; uint8_t xtra_flags_UNUSED; uint8_t os_flags_UNUSED; - } __attribute__((packed)) formatted; + } PACKED formatted; } header; struct BUG_header { char BUG_header[sizeof(header) == 8 ? 1 : -1]; |