From 3d9ba1a234d0966de21d8d592bea7b4ffc325586 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sat, 7 Sep 2019 01:08:14 +0200 Subject: Move data structure forward declarations to predef header This in turn allows for removing most of the header inclusions within the public headers. Signed-off-by: David Oberhollenzer --- include/sqfs/data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/sqfs/data.h') diff --git a/include/sqfs/data.h b/include/sqfs/data.h index 914afae..e8efa73 100644 --- a/include/sqfs/data.h +++ b/include/sqfs/data.h @@ -15,10 +15,10 @@ #define SQFS_ON_DISK_BLOCK_SIZE(size) ((size) & ((1 << 24) - 1)) #define SQFS_IS_SPARSE_BLOCK(size) (SQFS_ON_DISK_BLOCK_SIZE(size) == 0) -typedef struct { +struct sqfs_fragment_t { uint64_t start_offset; uint32_t size; uint32_t pad0; -} sqfs_fragment_t; +}; #endif /* SQFS_DATA_H */ -- cgit v1.2.3