summaryrefslogtreecommitdiffstats
path: root/reftable/reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'reftable/reader.h')
-rw-r--r--reftable/reader.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/reftable/reader.h b/reftable/reader.h
index 91377b9ce5..010fbfe851 100644
--- a/reftable/reader.h
+++ b/reftable/reader.h
@@ -56,9 +56,9 @@ struct reftable_reader {
const char *reader_name(struct reftable_reader *r);
-void reader_init_iter(struct reftable_reader *r,
- struct reftable_iterator *it,
- uint8_t typ);
+int reader_init_iter(struct reftable_reader *r,
+ struct reftable_iterator *it,
+ uint8_t typ);
/* initialize a block reader to read from `r` */
int reader_init_block_reader(struct reftable_reader *r, struct block_reader *br,