summaryrefslogtreecommitdiff
path: root/t/helper/test-index-version.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-index-version.c')
-rw-r--r--t/helper/test-index-version.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-index-version.c b/t/helper/test-index-version.c
index f569f6b7ef..fcd10968cc 100644
--- a/t/helper/test-index-version.c
+++ b/t/helper/test-index-version.c
@@ -1,6 +1,7 @@
+#include "test-tool.h"
#include "cache.h"
-int cmd_main(int argc, const char **argv)
+int cmd__index_version(int argc, const char **argv)
{
struct cache_header hdr;
int version;