Remove unused run_command variants
We don't actually use these va_list based variants of run_command anymore. I'm removing them before I make further improvements. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
committed by
Junio C Hamano
parent
497bdc88d6
commit
afdb269c76
@ -1,7 +1,6 @@
|
||||
#ifndef RUN_COMMAND_H
|
||||
#define RUN_COMMAND_H
|
||||
|
||||
#define MAX_RUN_COMMAND_ARGS 256
|
||||
enum {
|
||||
ERR_RUN_COMMAND_FORK = 10000,
|
||||
ERR_RUN_COMMAND_EXEC,
|
||||
@ -15,8 +14,5 @@ enum {
|
||||
#define RUN_GIT_CMD 2 /*If this is to be git sub-command */
|
||||
#define RUN_COMMAND_STDOUT_TO_STDERR 4
|
||||
int run_command_v_opt(const char **argv, int opt);
|
||||
int run_command_v(const char **argv);
|
||||
int run_command_opt(int opt, const char *cmd, ...);
|
||||
int run_command(const char *cmd, ...);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user