aboutsummaryrefslogtreecommitdiff
path: root/bin/gensquashfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-11 23:27:16 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 13:38:25 +0200
commit63bc750fecb00fc5878ca889204fc65510893778 (patch)
treef3a8280ce30308e6bd86e534df19599587ce5914 /bin/gensquashfs
parentd8a01253aba94759aae2bbc78e9103843f28dd78 (diff)
libio: remove single line wrapper functions
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/gensquashfs')
-rw-r--r--bin/gensquashfs/src/fstree_from_file.c2
-rw-r--r--bin/gensquashfs/src/sort_by_file.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/gensquashfs/src/fstree_from_file.c b/bin/gensquashfs/src/fstree_from_file.c
index dc7181f..325bce2 100644
--- a/bin/gensquashfs/src/fstree_from_file.c
+++ b/bin/gensquashfs/src/fstree_from_file.c
@@ -280,7 +280,7 @@ int fstree_from_file_stream(fstree_t *fs, istream_t *fp, const char *basepath)
char *line;
int ret;
- filename = istream_get_filename(fp);
+ filename = fp->get_filename(fp);
for (;;) {
ret = istream_get_line(fp, &line, &line_num,
diff --git a/bin/gensquashfs/src/sort_by_file.c b/bin/gensquashfs/src/sort_by_file.c
index 4a1be49..e2b6338 100644
--- a/bin/gensquashfs/src/sort_by_file.c
+++ b/bin/gensquashfs/src/sort_by_file.c
@@ -244,7 +244,7 @@ int fstree_sort_files(fstree_t *fs, istream_t *sortfile)
node->flags &= ~FLAG_FILE_ALREADY_MATCHED;
}
- filename = istream_get_filename(sortfile);
+ filename = sortfile->get_filename(sortfile);
for (;;) {
bool do_glob, path_glob, have_match;