aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-05 14:44:08 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-05 14:47:30 +0200
commitc2b37956b0c32c78ec017617509038e051bb08fb (patch)
tree9d76f4a5719ceb07c0370d10ac707213f3af3d0e /include
parent3b7f4dbb284462ef7065e19f1725f615973477da (diff)
Cleanup: move "create_block" from block processor over to data writer
It only has one user and is quite specialized actually. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include')
-rw-r--r--include/sqfs/block_processor.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/sqfs/block_processor.h b/include/sqfs/block_processor.h
index b7550aa..5d7ed3b 100644
--- a/include/sqfs/block_processor.h
+++ b/include/sqfs/block_processor.h
@@ -95,17 +95,6 @@ int block_processor_enqueue(block_processor_t *proc, block_t *block);
int block_processor_finish(block_processor_t *proc);
/*
- Convenience function to create a block structure and optionally fill it with
- content.
-
- filename is used for printing error messages. If fd is a valid file
- descriptor (>= 0), the function attempts to populate the payload data
- from the input file.
- */
-block_t *create_block(const char *filename, int fd, size_t size,
- void *user, uint32_t flags);
-
-/*
Convenience function to process a data block. Returns 0 on success,
prints to stderr on failure.
*/