replace and remove run_command_v_opt_tr2()
The convenience function run_command_v_opt_tr2() is only used by a single caller. Use struct child_process and run_command() directly instead and remove the underused function. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Taylor Blau <me@ttaylorr.com>
This commit is contained in:
committed by
Taylor Blau
parent
eb5b6b57d0
commit
d82dbbd849
@@ -244,7 +244,6 @@ int run_auto_maintenance(int quiet);
|
||||
* corresponds to the member .env.
|
||||
*/
|
||||
int run_command_v_opt(const char **argv, int opt);
|
||||
int run_command_v_opt_tr2(const char **argv, int opt, const char *tr2_class);
|
||||
/*
|
||||
* env (the environment) is to be formatted like environ: "VAR=VALUE".
|
||||
* To unset an environment variable use just "VAR".
|
||||
|
||||
Reference in New Issue
Block a user