aboutsummaryrefslogtreecommitdiff
path: root/lib/util/test
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 15:16:03 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 15:16:03 +0200
commit484cd01590ec488cca1f8a5c7c76cd223609e299 (patch)
tree0e3bc268688c2feb8773871a43381a998ce846e7 /lib/util/test
parent8cf84b4995552bad4e77eb795e36c0b1d65a720a (diff)
Migrate file istream/ostream from libio to libsquashfs
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/util/test')
-rw-r--r--lib/util/test/str_table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/test/str_table.c b/lib/util/test/str_table.c
index 4a62b59..02e5e67 100644
--- a/lib/util/test/str_table.c
+++ b/lib/util/test/str_table.c
@@ -7,10 +7,10 @@
#include "config.h"
#include "util/str_table.h"
-#include "io/istream.h"
-#include "io/file.h"
#include "compat.h"
+#include "io/istream.h"
#include "util/test.h"
+#include "sqfs/io.h"
static char *strings[1000];
@@ -21,7 +21,7 @@ static int read_strings(void)
char *line;
int i;
- i = istream_open_file(&fp, "words.txt");
+ i = sqfs_istream_open_file(&fp, "words.txt");
TEST_EQUAL_I(i, 0);
TEST_NOT_NULL(fp);