From afdb269c76cb965cf8bbb1012c2ec0e2bf7172b1 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Sat, 10 Mar 2007 03:27:52 -0500 Subject: 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 Signed-off-by: Junio C Hamano --- run-command.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'run-command.h') 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 -- cgit v1.2.3