add an extra level of indirection to main()
[gitweb.git] / shell.c
diff --git a/shell.c b/shell.c
index c5439a63e9678e1dc3dfa7d4e1f2a97c331e54d6..3dd7fdcfe61479f213ebeaedbfd3090cd5a93852 100644 (file)
--- a/shell.c
+++ b/shell.c
@@ -138,7 +138,7 @@ static struct commands {
        { NULL },
 };
 
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
 {
        char *prog;
        const char **user_argv;