add an extra level of indirection to main()
[git/git.git] / common-main.c
... / ...
CommitLineData
1#include "git-compat-util.h"
2
3int main(int argc, char **av)
4{
5 /*
6 * This const trickery is explained in
7 * 84d32bf7678259c08406571cd6ce4b7a6724dcba
8 */
9 const char **argv = (const char **)av;
10
11 return cmd_main(argc, argv);
12}