From e6a19ba1a05f77f051187a6b1a828ee6d39ce052 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 29 Jun 2022 18:21:58 +0200 Subject: 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 --- lib/tar/padd_file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/tar/padd_file.c') diff --git a/lib/tar/padd_file.c b/lib/tar/padd_file.c index 1173096..6a1ca05 100644 --- a/lib/tar/padd_file.c +++ b/lib/tar/padd_file.c @@ -5,7 +5,8 @@ * Copyright (C) 2019 David Oberhollenzer */ #include "config.h" -#include "tar.h" +#include "tar/tar.h" +#include "tar/format.h" #include #include -- cgit v1.2.3