summaryrefslogtreecommitdiff
path: root/lib/sqfs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 16:28:16 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-01 16:36:38 +0200
commit4ee671b63b18701a29cf9f119e2dc26a055c69c5 (patch)
treee155c9a50948101ffec2b5346edcf9b3d905372e /lib/sqfs
parenta901d77efe116938bdaf5c0fc6075141ebb2bafc (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs')
-rw-r--r--lib/sqfs/read_inode.c2
-rw-r--r--lib/sqfs/readdir.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqfs/read_inode.c b/lib/sqfs/read_inode.c
index 292f38e..10337a7 100644
--- a/lib/sqfs/read_inode.c
+++ b/lib/sqfs/read_inode.c
@@ -6,7 +6,7 @@
*/
#include "config.h"
-#include "sqfs/meta_reader.h"
+#include "sqfs/inode.h"
#include "util.h"
#include <sys/stat.h>
diff --git a/lib/sqfs/readdir.c b/lib/sqfs/readdir.c
index 30c6cf0..31e4c63 100644
--- a/lib/sqfs/readdir.c
+++ b/lib/sqfs/readdir.c
@@ -6,7 +6,7 @@
*/
#include "config.h"
-#include "sqfs/meta_reader.h"
+#include "sqfs/dir.h"
#include <stdlib.h>
#include <string.h>