diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-03-10 03:27:52 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-11 22:49:31 -0700 |
commit | afdb269c76cb965cf8bbb1012c2ec0e2bf7172b1 (patch) | |
tree | 5a6a5095a52e312ded625afa8187440a090f0cc7 /run-command.h | |
parent | 497bdc88d661b3da15fdd5365293381bd66010c9 (diff) | |
download | git-afdb269c76cb965cf8bbb1012c2ec0e2bf7172b1.tar.gz |
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>
Diffstat (limited to 'run-command.h')
-rw-r--r-- | run-command.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/run-command.h b/run-command.h index 59c4476ced..2646d38ac7 100644 --- a/run-command.h +++ b/run-command.h @@ -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 |