summaryrefslogtreecommitdiff
path: root/archival/ar.c
diff options
context:
space:
mode:
authorGlenn L McGrath2002-09-26 16:01:21 +0000
committerGlenn L McGrath2002-09-26 16:01:21 +0000
commita47a3eada6ada1168205f6684e5c5a5c23d3558b (patch)
treece63c34022316a629cbbf5f712e9066babf4e7b8 /archival/ar.c
parent6f2ebcaa013ea8094a133605a1ae713e446ec965 (diff)
downloadbusybox-a47a3eada6ada1168205f6684e5c5a5c23d3558b.zip
busybox-a47a3eada6ada1168205f6684e5c5a5c23d3558b.tar.gz
Fix simple define problem
Diffstat (limited to 'archival/ar.c')
-rw-r--r--archival/ar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/archival/ar.c b/archival/ar.c
index b5fa795..9979273 100644
--- a/archival/ar.c
+++ b/archival/ar.c
@@ -80,11 +80,12 @@ extern int ar_main(int argc, char **argv)
archive_handle_t *archive_handle;
int opt;
+#ifndef CONFIG_DPKG_DEB
+ char magic[8];
+#endif
#if defined CONFIG_TAR | defined CONFIG_DPKG_DEB | defined CONFIG_CPIO
archive_handle = init_handle();
#else
- char magic[8];
-
archive_handle = xcalloc(1, sizeof(archive_handle_t));
archive_handle->filter = filter_accept_all;
archive_handle->action_data = data_skip;