add an extra level of indirection to main()
[gitweb.git] / remote-testsvn.c
index f05ff45298207258c257c2118206fbbfa0a4c670..32631eb14a04d769cc5a185477ee93aca69b663a 100644 (file)
@@ -284,7 +284,7 @@ static int do_command(struct strbuf *line)
        return 0;
 }
 
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
 {
        struct strbuf buf = STRBUF_INIT, url_sb = STRBUF_INIT,
                        private_ref_sb = STRBUF_INIT, marksfilename_sb = STRBUF_INIT,