From 36e70b384e1360e47f473be54ef3c0599bf82844 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 27 May 2020 15:29:11 +0200 Subject: Cleanup: sqfs2tar: break up and simplify the repacking code - Move the xattr extraction and repacking to xattr.c - Don't on-the-fly delete the tar xattr list, use the function from libtar.a - Split minor tasks into static helper functions - creating a libtar xattr struct from libsqfs xattr data - finding a hard link entry from current path and inode number Signed-off-by: David Oberhollenzer --- lib/tar/internal.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') diff --git a/lib/tar/internal.h b/lib/tar/internal.h index 57746ae..e79596b 100644 --- a/lib/tar/internal.h +++ b/lib/tar/internal.h @@ -60,8 +60,6 @@ sparse_map_t *read_gnu_old_sparse(FILE *fp, tar_header_t *hdr); void free_sparse_list(sparse_map_t *sparse); -void free_xattr_list(tar_xattr_t *list); - size_t base64_decode(sqfs_u8 *out, const char *in, size_t len); void urldecode(char *str); -- cgit v1.2.3