aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-04-15 14:18:16 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-04-15 14:18:16 +0200
commitb74e490629a75cb8c2cb798f0feadc2eb4dc5471 (patch)
treeff2e333d1939c9d326eea1da4dd26346ecfeb9db /include
parent58e43a4c40f56a463a475bec5ef915612fc5ed8c (diff)
downloadbusybox-b74e490629a75cb8c2cb798f0feadc2eb4dc5471.tar.gz
ar: stop using static data
function old new delta static.ar_long_names 4 - -4 static.ar_long_name_size 4 - -4 get_header_ar 546 532 -14 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 0/1 up/down: 0/-22) Total: -22 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/bb_archive.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h
index b437f1920..0252488bf 100644
--- a/include/bb_archive.h
+++ b/include/bb_archive.h
@@ -116,6 +116,10 @@ typedef struct archive_handle_t {
#if ENABLE_FEATURE_AR_CREATE
const char *ar__name;
struct archive_handle_t *ar__out;
+# if ENABLE_FEATURE_AR_LONG_FILENAMES
+ char *ar__long_names;
+ unsigned ar__long_name_size;
+# endif
#endif
} archive_handle_t;
/* bits in ah_flags */