aboutsummaryrefslogtreecommitdiff
path: root/lib/sqfs/test
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-12 22:00:02 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-06-15 13:38:25 +0200
commit043495538ebaf02adba6d40764fb3e6def65cb09 (patch)
treeff05ba2a1ebc5093ec266114e309af9991187ae8 /lib/sqfs/test
parentba99ef34e7b073c03519ef74f017091de6c9bee8 (diff)
libsquashfs: Add a get_filename function to sqfs_file_t
Similar to the sqfs_istream_t & sqfs_ostream_t interfaces. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/test')
-rw-r--r--lib/sqfs/test/table.c1
-rw-r--r--lib/sqfs/test/xattr_writer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqfs/test/table.c b/lib/sqfs/test/table.c
index 3e44fa3..324dc13 100644
--- a/lib/sqfs/test/table.c
+++ b/lib/sqfs/test/table.c
@@ -89,6 +89,7 @@ static sqfs_file_t dummy_file = {
dummy_write_at,
dummy_get_size,
NULL,
+ NULL,
};
static sqfs_compressor_t dummy_compressor = {
diff --git a/lib/sqfs/test/xattr_writer.c b/lib/sqfs/test/xattr_writer.c
index 55d2030..f5db9d3 100644
--- a/lib/sqfs/test/xattr_writer.c
+++ b/lib/sqfs/test/xattr_writer.c
@@ -59,6 +59,7 @@ static sqfs_file_t dummy_file = {
dummy_write_at,
dummy_get_size,
NULL,
+ NULL,
};
static sqfs_compressor_t dummy_compressor = {