summaryrefslogtreecommitdiff
path: root/reftable/writer.c
diff options
context:
space:
mode:
authorLibravatar Han-Wen Nienhuys <hanwen@google.com>2022-02-21 18:46:10 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-02-23 13:36:26 -0800
commit73a4c188b77acbfdf25641e2bb4d1600c45338ec (patch)
tree1881331ae1c2288919531af09354f900321c6e53 /reftable/writer.c
parentreftable: add test for length of disambiguating prefix (diff)
downloadtgif-73a4c188b77acbfdf25641e2bb4d1600c45338ec.tar.xz
reftable: rename writer_stats to reftable_writer_stats
This function is part of the reftable API, so it should use the reftable_ prefix Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reftable/writer.c')
-rw-r--r--reftable/writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reftable/writer.c b/reftable/writer.c
index 5e4e6e9341..6d979e245f 100644
--- a/reftable/writer.c
+++ b/reftable/writer.c
@@ -695,7 +695,7 @@ static int writer_flush_block(struct reftable_writer *w)
return writer_flush_nonempty_block(w);
}
-const struct reftable_stats *writer_stats(struct reftable_writer *w)
+const struct reftable_stats *reftable_writer_stats(struct reftable_writer *w)
{
return &w->stats;
}