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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-index-version.c b/t/helper/test-index-version.c
index 05d4699c4a..f569f6b7ef 100644
--- a/t/helper/test-index-version.c
+++ b/t/helper/test-index-version.c
@@ -1,6 +1,6 @@
#include "cache.h"
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
{
struct cache_header hdr;
int version;