diff options
author | Ron Yorston <rmy@pobox.com> | 2019-02-14 11:25:52 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-02-14 11:25:52 +0000 |
commit | 6312c005522de47dcaf442f613065415bcbd8ef7 (patch) | |
tree | 6938d11a29007a651191a954842211481c18befb /include | |
parent | 9aae70405e22a97abd610052378eaad3dee281a3 (diff) | |
download | busybox-w32-6312c005522de47dcaf442f613065415bcbd8ef7.tar.gz busybox-w32-6312c005522de47dcaf442f613065415bcbd8ef7.tar.bz2 busybox-w32-6312c005522de47dcaf442f613065415bcbd8ef7.zip |
libarchive: remove more symlink code
Since symlinks aren't supported in busybox-w32 remove more of the
code that handles them.
Saves 64 bytes.
Diffstat (limited to 'include')
-rw-r--r-- | include/bb_archive.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bb_archive.h b/include/bb_archive.h index 7d70ac086..b2cb7b347 100644 --- a/include/bb_archive.h +++ b/include/bb_archive.h | |||
@@ -213,6 +213,9 @@ void seek_by_jump(int fd, off_t amount) FAST_FUNC; | |||
213 | void seek_by_read(int fd, off_t amount) FAST_FUNC; | 213 | void seek_by_read(int fd, off_t amount) FAST_FUNC; |
214 | 214 | ||
215 | const char *strip_unsafe_prefix(const char *str) FAST_FUNC; | 215 | const char *strip_unsafe_prefix(const char *str) FAST_FUNC; |
216 | #if ENABLE_PLATFORM_MINGW32 | ||
217 | #define create_or_remember_link(lp, t, ln, hl) create_or_remember_link(t, ln) | ||
218 | #endif | ||
216 | void create_or_remember_link(llist_t **link_placeholders, | 219 | void create_or_remember_link(llist_t **link_placeholders, |
217 | const char *target, | 220 | const char *target, |
218 | const char *linkname, | 221 | const char *linkname, |