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-dump-cache-tree.c
diff --git
a/test-dump-cache-tree.c
b/test-dump-cache-tree.c
index bb53c0aa655c7a2df09638024b304a79e8b07fc6..44f3290258a003317e4aad4f90d17ce5529e3b07 100644
(file)
--- a/
test-dump-cache-tree.c
+++ b/
test-dump-cache-tree.c
@@
-54,7
+54,7
@@
static int dump_cache_tree(struct cache_tree *it,
return errs;
}
-int
main(int ac,
char **av)
+int
cmd_main(int ac, const
char **av)
{
struct index_state istate;
struct cache_tree *another = cache_tree();