diff options
Diffstat (limited to 'include/image-sparse.h')
-rw-r--r-- | include/image-sparse.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/image-sparse.h b/include/image-sparse.h index 72f4036d81..f39dc16617 100644 --- a/include/image-sparse.h +++ b/include/image-sparse.h @@ -22,6 +22,8 @@ struct sparse_storage { lbaint_t (*reserve)(struct sparse_storage *info, lbaint_t blk, lbaint_t blkcnt); + + void (*mssg)(const char *str); }; static inline int is_sparse_image(void *buf) @@ -35,5 +37,5 @@ static inline int is_sparse_image(void *buf) return 0; } -void write_sparse_image(struct sparse_storage *info, const char *part_name, - void *data); +int write_sparse_image(struct sparse_storage *info, const char *part_name, + void *data); |