diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-09-18 23:25:32 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-09-19 13:25:32 +0200 |
commit | 6a5d2dc7795029acf38862ecaefebc4015400045 (patch) | |
tree | 2173162d1eb84012c47e9048bdb74b94cc2b8063 /include/compat.h | |
parent | bfd932fb3470fa7250359da6ed5641182a10077c (diff) |
libtar: accept an sqfs_dir_entry_t instead of a struct stat
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/compat.h')
-rw-r--r-- | include/compat.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/compat.h b/include/compat.h index e62df81..8491cf0 100644 --- a/include/compat.h +++ b/include/compat.h @@ -142,22 +142,6 @@ static inline int _sz_mul_overflow(size_t a, size_t b, size_t *res) #define S_IWOTH SQFS_INODE_OTHERS_W #define S_IXOTH SQFS_INODE_OTHERS_X -struct stat { - sqfs_u32 st_dev; - sqfs_u32 st_ino; - sqfs_u16 st_mode; - sqfs_u16 st_nlink; - sqfs_u32 st_uid; - sqfs_u32 st_gid; - sqfs_u32 st_rdev; - sqfs_u64 st_size; - sqfs_u32 st_blksize; - sqfs_u32 st_blocks; - sqfs_u64 st_atime; - sqfs_u64 st_mtime; - sqfs_u64 st_ctime; -}; - /* lifted from musl libc */ #define major(x) \ ((unsigned)( (((x)>>31>>1) & 0xfffff000) | (((x)>>8) & 0x00000fff) )) |