From 438e9b4a9e446e3f2d18dd8d4798295547124b87 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 10 Aug 2008 21:14:26 +0000 Subject: [PATCH] Correct test_tar_large so it works correctly with the libarchive 1.x API. --- lib/libarchive/test/test_tar_large.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {