From f64986ac1d95ffb2604cfef0efa8e7d2e0b7f8ce Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 25 Sep 2019 10:11:19 +0200 Subject: Move sqfs_block_t to its own header Signed-off-by: David Oberhollenzer --- lib/sqfs/Makemodule.am | 2 +- lib/sqfs/data_reader.c | 2 +- lib/sqfs/data_writer/internal.h | 1 + lib/sqfs/io.c | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/sqfs') diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am index 459f359..b07cc5b 100644 --- a/lib/sqfs/Makemodule.am +++ b/lib/sqfs/Makemodule.am @@ -6,7 +6,7 @@ LIBSQFS_HEARDS = include/sqfs/data.h include/sqfs/meta_writer.h \ include/sqfs/table.h include/sqfs/predef.h \ include/sqfs/error.h include/sqfs/dir_reader.h \ include/sqfs/dir_writer.h include/sqfs/io.h \ - include/sqfs/data_reader.h + include/sqfs/data_reader.h include/sqfs/block.h libsquashfs_la_SOURCES = $(LIBSQFS_HEARDS) lib/sqfs/id_table.c lib/sqfs/super.c libsquashfs_la_SOURCES += lib/sqfs/readdir.c lib/sqfs/io_file.c lib/sqfs/xattr.c diff --git a/lib/sqfs/data_reader.c b/lib/sqfs/data_reader.c index 0ea08ee..d8645d1 100644 --- a/lib/sqfs/data_reader.c +++ b/lib/sqfs/data_reader.c @@ -7,9 +7,9 @@ #define SQFS_BUILDING_DLL #include "config.h" -#include "sqfs/data_writer.h" #include "sqfs/data_reader.h" #include "sqfs/compress.h" +#include "sqfs/block.h" #include "sqfs/error.h" #include "sqfs/table.h" #include "sqfs/inode.h" diff --git a/lib/sqfs/data_writer/internal.h b/lib/sqfs/data_writer/internal.h index 10cc82c..69de9ac 100644 --- a/lib/sqfs/data_writer/internal.h +++ b/lib/sqfs/data_writer/internal.h @@ -14,6 +14,7 @@ #include "sqfs/inode.h" #include "sqfs/table.h" #include "sqfs/error.h" +#include "sqfs/block.h" #include "sqfs/data.h" #include "sqfs/io.h" #include "util.h" diff --git a/lib/sqfs/io.c b/lib/sqfs/io.c index 40bf5d8..f4ffda2 100644 --- a/lib/sqfs/io.c +++ b/lib/sqfs/io.c @@ -9,7 +9,7 @@ #include "sqfs/io.h" #include "sqfs/error.h" -#include "sqfs/data_writer.h" +#include "sqfs/block.h" #include "util.h" #include -- cgit v1.2.3