aboutsummaryrefslogtreecommitdiff
path: root/reftable/fsck.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-04-08 10:19:17 -0700
committerJunio C Hamano <gitster@pobox.com>2026-04-08 10:19:17 -0700
commit4fee6ff3b23321b55073ca2d13c4e2aa6adaea65 (patch)
tree097114e50b0fea8c224986e29d070b99a7904370 /reftable/fsck.c
parent0c0cbd8ab7c8e1884d6f0bdf1f36f5f9d4732553 (diff)
parent87e4eee3f94ec261a92a76d06261b227b00de461 (diff)
downloadgit-4fee6ff3b23321b55073ca2d13c4e2aa6adaea65.tar.xz
Merge branch 'ps/reftable-portability'
Update reftable library part with what is used in libgit2 to improve portability to different target codebases and platforms. * ps/reftable-portability: reftable/system: add abstraction to mmap files reftable/system: add abstraction to retrieve time in milliseconds reftable/fsck: use REFTABLE_UNUSED instead of UNUSED reftable/stack: provide fsync(3p) via system header reftable: introduce "reftable-system.h" header
Diffstat (limited to 'reftable/fsck.c')
-rw-r--r--reftable/fsck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reftable/fsck.c b/reftable/fsck.c
index 26b9115b14..8e73fc83f2 100644
--- a/reftable/fsck.c
+++ b/reftable/fsck.c
@@ -63,7 +63,7 @@ static int table_check_name(struct reftable_table *table,
static int table_checks(struct reftable_table *table,
reftable_fsck_report_fn report_fn,
- reftable_fsck_verbose_fn verbose_fn UNUSED,
+ reftable_fsck_verbose_fn verbose_fn REFTABLE_UNUSED,
void *cb_data)
{
table_check_fn table_check_fns[] = {