tree-wide: Remove strv_from_stdarg_alloca()
It's trivial to replace all uses of this function with STRV_MAKE() and strv_new_ap() so let's get rid of this variant.
This commit is contained in:
@@ -62,5 +62,5 @@ ExecCommandFlags exec_command_flags_from_string(const char *s);
|
||||
int fexecve_or_execve(int executable_fd, const char *executable, char *const argv[], char *const envp[]);
|
||||
|
||||
int shall_fork_agent(void);
|
||||
int _fork_agent(const char *name, const int except[], size_t n_except, pid_t *ret_pid, const char *path, ...) _sentinel_;
|
||||
#define fork_agent(name, ...) _fork_agent(name, __VA_ARGS__, NULL)
|
||||
int _fork_agent(const char *name, char * const *argv, const int except[], size_t n_except, pid_t *ret_pid);
|
||||
#define fork_agent(name, except, n_except, ret_pid, ...) _fork_agent(name, STRV_MAKE(__VA_ARGS__), except, n_except, ret_pid)
|
||||
|
||||
Reference in New Issue
Block a user