diff --git a/lib/libarchive/test/test_tar_large.c b/lib/libarchive/test/test_tar_large.c index b0a277f556d7..5ce31053bac0 100644 --- a/lib/libarchive/test/test_tar_large.c +++ b/lib/libarchive/test/test_tar_large.c @@ -179,7 +179,6 @@ memory_read_skip(struct archive *a, void *private, size_t skip) #else static off_t memory_read_skip(struct archive *a, void *_private, off_t skip) -#endif { struct memdata *private = _private; @@ -198,6 +197,7 @@ memory_read_skip(struct archive *a, void *_private, off_t skip) } return (skip); } +#endif DEFINE_TEST(test_tar_large) {