Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add an extra level of indirection to main()
[gitweb.git]
/
remote-testsvn.c
diff --git
a/remote-testsvn.c
b/remote-testsvn.c
index f05ff45298207258c257c2118206fbbfa0a4c670..32631eb14a04d769cc5a185477ee93aca69b663a 100644
(file)
--- a/
remote-testsvn.c
+++ b/
remote-testsvn.c
@@
-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,