From 8bed8a0e1dbaa5df29a386f13768c5df84c2cceb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 7 Sep 2022 13:06:32 +0200 Subject: ci: set some environment variables --- src/process.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/process.h') diff --git a/src/process.h b/src/process.h index b378ad1..bc20748 100644 --- a/src/process.h +++ b/src/process.h @@ -10,13 +10,13 @@ struct proc_output { }; /* The exit code is only valid if the functions returns a non-negative number. */ -int proc_spawn(const char *args[], int *ec); +int proc_spawn(const char *args[], const char *envp[], int *ec); /* Similarly, the contents of the proc_output structure is only valid if the function returns a * non-negative number. * * In that case, you'll need to free the output. */ -int proc_capture(const char *args[], struct proc_output *result); +int proc_capture(const char *args[], const char *envp[], struct proc_output *result); void proc_output_init(struct proc_output *); void proc_output_free(const struct proc_output *); -- cgit v1.2.3