summaryrefslogtreecommitdiffhomepage
path: root/archival
diff options
context:
space:
mode:
Diffstat (limited to 'archival')
-rw-r--r--archival/libarchive/common.c2
-rw-r--r--archival/lzop.c2
-rw-r--r--archival/unzip.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/archival/libarchive/common.c b/archival/libarchive/common.c
index dd69d2222..389cb7856 100644
--- a/archival/libarchive/common.c
+++ b/archival/libarchive/common.c
@@ -6,4 +6,4 @@
#include "libbb.h"
#include "bb_archive.h"
-const char cpio_TRAILER[] = "TRAILER!!!";
+const char cpio_TRAILER[] ALIGN1 = "TRAILER!!!";
diff --git a/archival/lzop.c b/archival/lzop.c
index 4afa21889..202de4d03 100644
--- a/archival/lzop.c
+++ b/archival/lzop.c
@@ -896,7 +896,7 @@ static NOINLINE int lzo_decompress(const header_t *h)
* chksum_out
* The rest is identical.
*/
-static const unsigned char lzop_magic[9] = {
+static const unsigned char lzop_magic[9] ALIGN1 = {
0x89, 0x4c, 0x5a, 0x4f, 0x00, 0x0d, 0x0a, 0x1a, 0x0a
};
diff --git a/archival/unzip.c b/archival/unzip.c
index be32e60e2..c540485ac 100644
--- a/archival/unzip.c
+++ b/archival/unzip.c
@@ -487,7 +487,7 @@ int unzip_main(int argc, char **argv)
if (overwrite == O_PROMPT)
overwrite = O_NEVER;
} else {
- static const char extn[][5] = { ".zip", ".ZIP" };
+ static const char extn[][5] ALIGN1 = { ".zip", ".ZIP" };
char *ext = src_fn + strlen(src_fn);
int src_fd;