aboutsummaryrefslogtreecommitdiff
path: root/lib/tar
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-09-23 11:16:46 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2023-10-24 15:57:18 +0200
commit9f2d63162e82d423faeda9c7449d6edd819e4591 (patch)
treefa22cd6a89655ef9726c64336be47a209bac1a15 /lib/tar
parentee26abcab9faf037cf87438cca20d54e5b0edd05 (diff)
Cleanup: remove rest of libioHEADmaster
Move the directory iterator test to libsquashfs, move the tree scanning code to libcommon. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/tar')
-rw-r--r--lib/tar/src/iterator.c1
-rw-r--r--lib/tar/test/tar_iterator.c1
-rw-r--r--lib/tar/test/tar_iterator2.c1
-rw-r--r--lib/tar/test/tar_iterator3.c1
-rw-r--r--lib/tar/test/tar_write_simple.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/lib/tar/src/iterator.c b/lib/tar/src/iterator.c
index 8f3353e..570f687 100644
--- a/lib/tar/src/iterator.c
+++ b/lib/tar/src/iterator.c
@@ -12,6 +12,7 @@
#include "util/util.h"
#include "xfrm/wrap.h"
#include "compat.h"
+#include "sqfs/dir_entry.h"
#include <stdlib.h>
#include <string.h>
diff --git a/lib/tar/test/tar_iterator.c b/lib/tar/test/tar_iterator.c
index b90d5ca..4e89380 100644
--- a/lib/tar/test/tar_iterator.c
+++ b/lib/tar/test/tar_iterator.c
@@ -9,6 +9,7 @@
#include "util/test.h"
#include "sqfs/error.h"
#include "sqfs/io.h"
+#include "sqfs/dir_entry.h"
#ifndef TESTUID
#define TESTUID 1000
diff --git a/lib/tar/test/tar_iterator2.c b/lib/tar/test/tar_iterator2.c
index 630f579..e983c27 100644
--- a/lib/tar/test/tar_iterator2.c
+++ b/lib/tar/test/tar_iterator2.c
@@ -8,6 +8,7 @@
#include "tar/tar.h"
#include "util/test.h"
#include "sqfs/io.h"
+#include "sqfs/dir_entry.h"
static const struct {
uint64_t offset;
diff --git a/lib/tar/test/tar_iterator3.c b/lib/tar/test/tar_iterator3.c
index 05940a2..e9bb472 100644
--- a/lib/tar/test/tar_iterator3.c
+++ b/lib/tar/test/tar_iterator3.c
@@ -10,6 +10,7 @@
#include "util/test.h"
#include "sqfs/error.h"
#include "sqfs/io.h"
+#include "sqfs/dir_entry.h"
int main(int argc, char **argv)
{
diff --git a/lib/tar/test/tar_write_simple.c b/lib/tar/test/tar_write_simple.c
index c82fe08..225841e 100644
--- a/lib/tar/test/tar_write_simple.c
+++ b/lib/tar/test/tar_write_simple.c
@@ -9,6 +9,7 @@
#include "sqfs/io.h"
#include "util/test.h"
#include "sqfs/xattr.h"
+#include "sqfs/dir_entry.h"
#include "compat.h"
static void hex_dump(const sqfs_u8 *data, size_t size)