diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-12-17 11:51:25 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-12-17 11:51:25 +0100 |
commit | 6a95717c07d4b453531ebe52f55c6dcfa520dc80 (patch) | |
tree | 9a4691542f4212c07d1241c44ff512a44eaabe4c /trafgen_conf.h | |
parent | 126e0038a73b38fac7b3e03173b2d791734cc497 (diff) |
cpp: Constify cpp argv passed to cpp_exec
Pass argv as char *const argv[] as execvp expects it.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_conf.h')
-rw-r--r-- | trafgen_conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_conf.h b/trafgen_conf.h index db3258f..b171798 100644 --- a/trafgen_conf.h +++ b/trafgen_conf.h @@ -57,7 +57,7 @@ static inline bool packet_dyn_has_only_csums(struct packet_dyn *p) extern void compile_packets_str(char *str, bool verbose, unsigned int cpu); extern void compile_packets(char *file, bool verbose, unsigned int cpu, - bool invoke_cpp, char **cpp_argv); + bool invoke_cpp, char *const cpp_argv[]); extern void cleanup_packets(void); #endif /* TRAFGEN_CONF */ |