From 4ee671b63b18701a29cf9f119e2dc26a055c69c5 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 1 Sep 2019 16:28:16 +0200 Subject: API cleanup: Shuffle declarations around Move declarations for stuff that is defined in libsquashfs.so into the public headers and declarations for stuff that isn't, out of there. Also move the meta reader/writer helper functions to their respective headers. Signed-off-by: David Oberhollenzer --- lib/sqfshelper/deserialize_fstree.c | 2 ++ lib/sqfshelper/write_dir.c | 3 ++- lib/sqfshelper/write_inode.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/sqfshelper') diff --git a/lib/sqfshelper/deserialize_fstree.c b/lib/sqfshelper/deserialize_fstree.c index 26804db..232c382 100644 --- a/lib/sqfshelper/deserialize_fstree.c +++ b/lib/sqfshelper/deserialize_fstree.c @@ -7,6 +7,8 @@ #include "config.h" #include "sqfs/meta_reader.h" +#include "sqfs/dir.h" + #include "xattr_reader.h" #include "highlevel.h" diff --git a/lib/sqfshelper/write_dir.c b/lib/sqfshelper/write_dir.c index 2b94667..b977bc4 100644 --- a/lib/sqfshelper/write_dir.c +++ b/lib/sqfshelper/write_dir.c @@ -6,11 +6,12 @@ */ #include "config.h" -#include "sqfs/meta_writer.h" #include "sqfs/inode.h" #include "sqfs/dir.h" +#include "highlevel.h" #include "util.h" +#include #include #include #include diff --git a/lib/sqfshelper/write_inode.c b/lib/sqfshelper/write_inode.c index 020eb64..1cd8e72 100644 --- a/lib/sqfshelper/write_inode.c +++ b/lib/sqfshelper/write_inode.c @@ -6,7 +6,7 @@ */ #include "config.h" -#include "sqfs/meta_writer.h" +#include "highlevel.h" #include "sqfs/inode.h" #include "sqfs/dir.h" #include "util.h" -- cgit v1.2.3