From adbf3bce4917e9d49d9b8b17fc7a04bed4b5f235 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Fri, 20 Sep 2019 19:39:44 +0200 Subject: Cleanup: split "dir.h" into "dir_reader.h" and "dir_writer.h" Signed-off-by: David Oberhollenzer --- lib/sqfs/Makemodule.am | 3 ++- lib/sqfs/dir_reader.c | 1 + lib/sqfs/dir_writer.c | 1 + lib/sqfs/read_tree.c | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am index 8dbb255..66d49b6 100644 --- a/lib/sqfs/Makemodule.am +++ b/lib/sqfs/Makemodule.am @@ -4,7 +4,8 @@ LIBSQFS_HEARDS = include/sqfs/data.h include/sqfs/meta_writer.h \ include/sqfs/super.h include/sqfs/inode.h \ include/sqfs/dir.h include/sqfs/xattr.h \ include/sqfs/table.h include/sqfs/predef.h \ - include/sqfs/error.h include/sqfs/io.h + include/sqfs/error.h include/sqfs/dir_reader.h \ + include/sqfs/dir_writer.h include/sqfs/io.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/dir_reader.c b/lib/sqfs/dir_reader.c index d4bfd27..aa9e1a4 100644 --- a/lib/sqfs/dir_reader.c +++ b/lib/sqfs/dir_reader.c @@ -8,6 +8,7 @@ #include "config.h" #include "sqfs/meta_reader.h" +#include "sqfs/dir_reader.h" #include "sqfs/compress.h" #include "sqfs/super.h" #include "sqfs/inode.h" diff --git a/lib/sqfs/dir_writer.c b/lib/sqfs/dir_writer.c index 47e6b62..4d90c1a 100644 --- a/lib/sqfs/dir_writer.c +++ b/lib/sqfs/dir_writer.c @@ -8,6 +8,7 @@ #include "config.h" #include "sqfs/meta_writer.h" +#include "sqfs/dir_writer.h" #include "sqfs/inode.h" #include "sqfs/error.h" #include "sqfs/data.h" diff --git a/lib/sqfs/read_tree.c b/lib/sqfs/read_tree.c index 1cac26a..f32f63c 100644 --- a/lib/sqfs/read_tree.c +++ b/lib/sqfs/read_tree.c @@ -8,6 +8,7 @@ #include "config.h" #include "sqfs/meta_reader.h" +#include "sqfs/dir_reader.h" #include "sqfs/compress.h" #include "sqfs/id_table.h" #include "sqfs/super.h" -- cgit v1.2.3