diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-06-29 18:21:58 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2022-07-08 19:17:35 +0200 |
commit | e6a19ba1a05f77f051187a6b1a828ee6d39ce052 (patch) | |
tree | c8a1566b10883edbe4a8bc9a724461f4003aaa10 /tests/libtar | |
parent | 359d71e90050a8b83f7bc7d2ecd4ff29c477cc22 (diff) |
Cleanup: split libtar header, move to sub directory
Some of the on-disk format internals are moved to a separate header
and some of the stuff from internal.h is moved to that format header.
C++ guards are added in addtion.
Everything PAX related is moved to pax_header.c, some internal
functions are marked as static.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libtar')
-rw-r--r-- | tests/libtar/tar_big_file.c | 2 | ||||
-rw-r--r-- | tests/libtar/tar_fuzz.c | 2 | ||||
-rw-r--r-- | tests/libtar/tar_simple.c | 2 | ||||
-rw-r--r-- | tests/libtar/tar_sparse.c | 2 | ||||
-rw-r--r-- | tests/libtar/tar_sparse_gnu.c | 2 | ||||
-rw-r--r-- | tests/libtar/tar_target_filled.c | 2 | ||||
-rw-r--r-- | tests/libtar/tar_xattr.c | 2 | ||||
-rw-r--r-- | tests/libtar/tar_xattr_bin.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/tests/libtar/tar_big_file.c b/tests/libtar/tar_big_file.c index 6e5af50..47332b7 100644 --- a/tests/libtar/tar_big_file.c +++ b/tests/libtar/tar_big_file.c @@ -5,7 +5,7 @@ * Copyright (C) 2019 David Oberhollenzer <goliath@infraroot.at> */ #include "config.h" -#include "tar.h" +#include "tar/tar.h" #include "io/file.h" #include "../test.h" diff --git a/tests/libtar/tar_fuzz.c b/tests/libtar/tar_fuzz.c index e7ab2b4..5942426 100644 --- a/tests/libtar/tar_fuzz.c +++ b/tests/libtar/tar_fuzz.c @@ -7,7 +7,7 @@ #include "config.h" #include "io/file.h" -#include "tar.h" +#include "tar/tar.h" #include <stdlib.h> #include <stdio.h> diff --git a/tests/libtar/tar_simple.c b/tests/libtar/tar_simple.c index 4fc1b8b..d72044a 100644 --- a/tests/libtar/tar_simple.c +++ b/tests/libtar/tar_simple.c @@ -6,7 +6,7 @@ */ #include "config.h" #include "io/file.h" -#include "tar.h" +#include "tar/tar.h" #include "../test.h" #ifndef TESTUID diff --git a/tests/libtar/tar_sparse.c b/tests/libtar/tar_sparse.c index d868c80..305e5e7 100644 --- a/tests/libtar/tar_sparse.c +++ b/tests/libtar/tar_sparse.c @@ -6,7 +6,7 @@ */ #include "config.h" #include "io/file.h" -#include "tar.h" +#include "tar/tar.h" #include "../test.h" static void test_case_sparse(const char *path) diff --git a/tests/libtar/tar_sparse_gnu.c b/tests/libtar/tar_sparse_gnu.c index c55f175..2ce7975 100644 --- a/tests/libtar/tar_sparse_gnu.c +++ b/tests/libtar/tar_sparse_gnu.c @@ -6,7 +6,7 @@ */ #include "config.h" #include "io/file.h" -#include "tar.h" +#include "tar/tar.h" #include "../test.h" int main(int argc, char **argv) diff --git a/tests/libtar/tar_target_filled.c b/tests/libtar/tar_target_filled.c index 34bf20f..13b089f 100644 --- a/tests/libtar/tar_target_filled.c +++ b/tests/libtar/tar_target_filled.c @@ -6,7 +6,7 @@ */ #include "config.h" #include "io/file.h" -#include "tar.h" +#include "tar/tar.h" #include "../test.h" int main(int argc, char **argv) diff --git a/tests/libtar/tar_xattr.c b/tests/libtar/tar_xattr.c index 7dde243..5fc7064 100644 --- a/tests/libtar/tar_xattr.c +++ b/tests/libtar/tar_xattr.c @@ -6,7 +6,7 @@ */ #include "config.h" #include "io/file.h" -#include "tar.h" +#include "tar/tar.h" #include "../test.h" int main(int argc, char **argv) diff --git a/tests/libtar/tar_xattr_bin.c b/tests/libtar/tar_xattr_bin.c index ea2bc28..8679c2d 100644 --- a/tests/libtar/tar_xattr_bin.c +++ b/tests/libtar/tar_xattr_bin.c @@ -6,7 +6,7 @@ */ #include "config.h" #include "io/file.h" -#include "tar.h" +#include "tar/tar.h" #include "../test.h" static const uint8_t value[] = { |