summaryrefslogtreecommitdiff
path: root/verity/fec/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'verity/fec/image.h')
-rw-r--r--verity/fec/image.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/verity/fec/image.h b/verity/fec/image.h
index f0211fdf..72048c6a 100644
--- a/verity/fec/image.h
+++ b/verity/fec/image.h
@@ -38,8 +38,6 @@
struct image {
/* if true, decode file in place instead of creating a new output file */
bool inplace;
- /* if true, use memory mapping instead of copying all input into memory */
- bool mmap;
/* if true, assume input is a sparse file */
bool sparse;
/* if true, print more verbose information to stderr */
@@ -60,7 +58,6 @@ struct image {
uint64_t rounds;
uint64_t rv;
uint8_t *fec;
- uint8_t *fec_mmap_addr;
uint8_t *input;
uint8_t *output;
};
@@ -79,8 +76,7 @@ struct image_proc_ctx {
void *rs;
};
-extern bool image_load(const std::vector<std::string>& filename, image *ctx,
- bool output_needed);
+extern bool image_load(const std::vector<std::string>& filename, image *ctx);
extern bool image_save(const std::string& filename, image *ctx);
extern bool image_ecc_new(const std::string& filename, image *ctx);