mirror of
https://github.com/git/git.git
synced 2025-12-12 20:36:24 +01:00
Const tightening.
Mark Wooding noticed there was a type mismatch warning in git.c; this patch does things slightly differently (mostly tightening const) and was what I was holding onto, waiting for the setup-revisions change to be merged into the master branch. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user