summaryrefslogtreecommitdiff
path: root/test-mergesort.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-mergesort.c')
-rw-r--r--test-mergesort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-mergesort.c b/test-mergesort.c
index ea3b959e94..335cf6b626 100644
--- a/test-mergesort.c
+++ b/test-mergesort.c
@@ -22,7 +22,7 @@ static int compare_strings(const void *a, const void *b)
return strcmp(x->text, y->text);
}
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
{
struct line *line, *p = NULL, *lines = NULL;
struct strbuf sb = STRBUF_INIT;