From 63bc750fecb00fc5878ca889204fc65510893778 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 11 Jun 2023 23:27:16 +0200 Subject: libio: remove single line wrapper functions Signed-off-by: David Oberhollenzer --- bin/gensquashfs/src/fstree_from_file.c | 2 +- bin/gensquashfs/src/sort_by_file.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/gensquashfs') 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; -- cgit v1.2.3