Correct test_tar_large so it works correctly with the libarchive 1.x API.

This commit is contained in:
Tim Kientzle 2008-08-10 21:14:26 +00:00
parent 7a9e0a96e0
commit 438e9b4a9e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181542

View File

@ -179,7 +179,6 @@ memory_read_skip(struct archive *a, void *private, size_t skip)
#else #else
static off_t static off_t
memory_read_skip(struct archive *a, void *_private, off_t skip) memory_read_skip(struct archive *a, void *_private, off_t skip)
#endif
{ {
struct memdata *private = _private; struct memdata *private = _private;
@ -198,6 +197,7 @@ memory_read_skip(struct archive *a, void *_private, off_t skip)
} }
return (skip); return (skip);
} }
#endif
DEFINE_TEST(test_tar_large) DEFINE_TEST(test_tar_large)
{ {