diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-07 01:08:14 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-07 01:08:14 +0200 |
commit | 3d9ba1a234d0966de21d8d592bea7b4ffc325586 (patch) | |
tree | e53449ca435ec00f0da938d8530f740cffcc1272 /include/sqfs/data.h | |
parent | 373ba219aa385678a14f9c17b48ad807858804ce (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.h | 4 |
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 */ |