From e6a19ba1a05f77f051187a6b1a828ee6d39ce052 Mon Sep 17 00:00:00 2001
From: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
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 <david.oberhollenzer@sigma-star.at>
---
 bin/sqfs2tar/sqfs2tar.h | 2 +-
 bin/tar2sqfs/tar2sqfs.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

(limited to 'bin')

diff --git a/bin/sqfs2tar/sqfs2tar.h b/bin/sqfs2tar/sqfs2tar.h
index 587e8ad..4575793 100644
--- a/bin/sqfs2tar/sqfs2tar.h
+++ b/bin/sqfs2tar/sqfs2tar.h
@@ -9,7 +9,7 @@
 
 #include "config.h"
 #include "common.h"
-#include "tar.h"
+#include "tar/tar.h"
 
 #include "io/xfrm.h"
 
diff --git a/bin/tar2sqfs/tar2sqfs.h b/bin/tar2sqfs/tar2sqfs.h
index d5a4ada..40c3b75 100644
--- a/bin/tar2sqfs/tar2sqfs.h
+++ b/bin/tar2sqfs/tar2sqfs.h
@@ -10,8 +10,9 @@
 #include "config.h"
 #include "common.h"
 #include "compat.h"
-#include "tar.h"
 
+#include "tar/tar.h"
+#include "tar/format.h"
 #include "io/xfrm.h"
 
 #include <stdlib.h>
-- 
cgit v1.2.3