Merge branch 'jk/common-main-2.8' into jk/common-main
[gitweb.git] / t / helper / test-parse-options.c
index 8a1235d03e2daab4b9e90d31c5da6708e5c712f2..d51d29251eb2cf5adeba1d4f94ff2ce100421560 100644 (file)
@@ -94,7 +94,7 @@ static void show(struct string_list *expect, int *status, const char *fmt, ...)
        strbuf_release(&buf);
 }
 
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
 {
        const char *prefix = "prefix/";
        const char *usage[] = {