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]
/
test-mergesort.c
diff --git
a/test-mergesort.c
b/test-mergesort.c
index ea3b959e94ff6f53726d4fce955bca1181a3be07..335cf6b6264cdaf9563736fbcfa40e7a3006a432 100644
(file)
--- 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;