X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=run-command.h;h=70b477a7483ce3a4997b20ee02223eeb483bde6c;hb=fb6a9f93d39e4e5fdb83673a927f71a34e9fb7c0;hp=ef3ee053dee4e60db1887020c8ab8840027ff649;hpb=0620db36f85788193de2102884ff8dd94222660f;p=git.git diff --git a/run-command.h b/run-command.h index ef3ee053..70b477a7 100644 --- a/run-command.h +++ b/run-command.h @@ -13,8 +13,8 @@ enum { #define RUN_COMMAND_NO_STDIO 1 #define RUN_GIT_CMD 2 /*If this is to be git sub-command */ -int run_command_v_opt(int argc, char **argv, int opt); -int run_command_v(int argc, char **argv); +int run_command_v_opt(int argc, const char **argv, int opt); +int run_command_v(int argc, const char **argv); int run_command(const char *cmd, ...); #endif