diff options
author | Luke Shumaker <lukeshu@beefcake.parabola.nu> | 2018-05-18 18:27:16 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@beefcake.parabola.nu> | 2018-05-18 18:27:16 -0400 |
commit | 0468c150fea1a3f0941b786c67bc27e797dade40 (patch) | |
tree | ade19c965da66aa3e8dc601bef5b9728ae59b2d2 /lib/dedupe-range.h | |
parent | 1e1b7886de107b7fc5cade05a954c25136ebf6cc (diff) |
fix dedupe-range
Diffstat (limited to 'lib/dedupe-range.h')
-rw-r--r-- | lib/dedupe-range.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dedupe-range.h b/lib/dedupe-range.h index 028fe08..142eafc 100644 --- a/lib/dedupe-range.h +++ b/lib/dedupe-range.h @@ -1,10 +1,9 @@ #include <stdint.h> -struct range { +struct filepos { char *filename; int flags; /* to pass to open(2) */ uint64_t offset; - uint64_t length; }; -void dedupe_range(struct range src, struct range *dsts); +void dedupe_range(uint64_t length, struct filepos src, struct filepos *dsts); |