diff options
author | Denis Vlasenko | 2008-07-05 09:18:54 +0000 |
---|---|---|
committer | Denis Vlasenko | 2008-07-05 09:18:54 +0000 |
commit | a60f84ebf07863e390b72a2b6150e461a1ec18e9 (patch) | |
tree | f59bc665cfe3d2d32622450d80523e3c1265e501 /archival/unzip.c | |
parent | f6efccc0659a2e2978f2021153f34ce92257ad2b (diff) | |
download | busybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.zip busybox-a60f84ebf07863e390b72a2b6150e461a1ec18e9.tar.gz |
*: rename ATTRIBUTE_XXX to just XXX.
Diffstat (limited to 'archival/unzip.c')
-rw-r--r-- | archival/unzip.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index 2c89712..7c92f5d 100644 --- a/archival/unzip.c +++ b/archival/unzip.c @@ -51,13 +51,13 @@ typedef union { uint16_t method; /* 4-5 */ uint16_t modtime; /* 6-7 */ uint16_t moddate; /* 8-9 */ - uint32_t crc32 ATTRIBUTE_PACKED; /* 10-13 */ - uint32_t cmpsize ATTRIBUTE_PACKED; /* 14-17 */ - uint32_t ucmpsize ATTRIBUTE_PACKED; /* 18-21 */ + uint32_t crc32 PACKED; /* 10-13 */ + uint32_t cmpsize PACKED; /* 14-17 */ + uint32_t ucmpsize PACKED; /* 18-21 */ uint16_t filename_len; /* 22-23 */ uint16_t extra_len; /* 24-25 */ - } formatted ATTRIBUTE_PACKED; -} zip_header_t; /* ATTRIBUTE_PACKED - gcc 4.2.1 doesn't like it (spews warning) */ + } formatted PACKED; +} zip_header_t; /* PACKED - gcc 4.2.1 doesn't like it (spews warning) */ /* Check the offset of the last element, not the length. This leniency * allows for poor packing, whereby the overall struct may be too long, |