summaryrefslogtreecommitdiff
path: root/t/helper/test-dump-cache-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-dump-cache-tree.c')
-rw-r--r--t/helper/test-dump-cache-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-dump-cache-tree.c b/t/helper/test-dump-cache-tree.c
index bb53c0aa65..44f3290258 100644
--- a/t/helper/test-dump-cache-tree.c
+++ b/t/helper/test-dump-cache-tree.c
@@ -54,7 +54,7 @@ static int dump_cache_tree(struct cache_tree *it,
return errs;
}
-int main(int ac, char **av)
+int cmd_main(int ac, const char **av)
{
struct index_state istate;
struct cache_tree *another = cache_tree();