From 6a95717c07d4b453531ebe52f55c6dcfa520dc80 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Thu, 17 Dec 2015 11:51:25 +0100 Subject: cpp: Constify cpp argv passed to cpp_exec Pass argv as char *const argv[] as execvp expects it. Signed-off-by: Tobias Klauser --- cpp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp.h') diff --git a/cpp.h b/cpp.h index 45c42ac..1cf0a35 100644 --- a/cpp.h +++ b/cpp.h @@ -1,6 +1,6 @@ #ifndef CPP_H #define CPP_H -extern int cpp_exec(char *in_file, char *out_file, size_t out_len, char **argv); +extern int cpp_exec(char *in_file, char *out_file, size_t out_len, char *const argv[]); #endif -- cgit v1.2.3-54-g00ecf