aboutsummaryrefslogtreecommitdiff
path: root/include/sqfs/data.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-07 01:08:14 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-07 01:08:14 +0200
commit3d9ba1a234d0966de21d8d592bea7b4ffc325586 (patch)
treee53449ca435ec00f0da938d8530f740cffcc1272 /include/sqfs/data.h
parent373ba219aa385678a14f9c17b48ad807858804ce (diff)
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 <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/sqfs/data.h')
-rw-r--r--include/sqfs/data.h4
1 files changed, 2 insertions, 2 deletions
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 */