aboutsummaryrefslogtreecommitdiff
path: root/lib/tar/test/tar_iterator.c
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-12 21:21:40 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 13:38:25 +0200
commitba99ef34e7b073c03519ef74f017091de6c9bee8 (patch)
tree8c134f72990200550ac96e46bd47d4cc0ba85810 /lib/tar/test/tar_iterator.c
parente811851deba9c45f3d9b3c5b4ad5eaa7945382d5 (diff)
Move sqfs_istream_t & sqfs_ostream_t into libsquashfs
For now, only the interfaces and helper functions are moved, the concrete implementations remain in libio. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar/test/tar_iterator.c')
-rw-r--r--lib/tar/test/tar_iterator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tar/test/tar_iterator.c b/lib/tar/test/tar_iterator.c
index 25e1389..f51ecd6 100644
--- a/lib/tar/test/tar_iterator.c
+++ b/lib/tar/test/tar_iterator.c
@@ -83,12 +83,12 @@ int main(int argc, char **argv)
TEST_EQUAL_UI(((sqfs_object_t *)ti)->refcount, 1);
/* read the data from the stream */
- ret = istream_read(ti, buffer, sizeof(buffer));
+ ret = sqfs_istream_read(ti, buffer, sizeof(buffer));
TEST_EQUAL_I(ret, 5);
buffer[5] = '\0';
TEST_STR_EQUAL(buffer, "test\n");
- ret = istream_read(ti, buffer, sizeof(buffer));
+ ret = sqfs_istream_read(ti, buffer, sizeof(buffer));
TEST_EQUAL_I(ret, 0);
sqfs_drop(ti);