diff options
-rw-r--r-- | trafgen_conf.h | 2 | ||||
-rw-r--r-- | trafgen_parser.y | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/trafgen_conf.h b/trafgen_conf.h index 01d249d..aee385e 100644 --- a/trafgen_conf.h +++ b/trafgen_conf.h @@ -45,7 +45,7 @@ struct packet_dyn { size_t slen; }; -extern void compile_packets(char *file, int verbose, int cpu, bool invoke_cpp); +extern void compile_packets(char *file, bool verbose, unsigned int cpu, bool invoke_cpp); extern void cleanup_packets(void); #endif /* TRAFGEN_CONF */ diff --git a/trafgen_parser.y b/trafgen_parser.y index 126a819..8eab614 100644 --- a/trafgen_parser.y +++ b/trafgen_parser.y @@ -592,7 +592,7 @@ void cleanup_packets(void) free(packet_dyn); } -void compile_packets(char *file, int verbose, int cpu, bool invoke_cpp) +void compile_packets(char *file, bool verbose, unsigned int cpu, bool invoke_cpp) { char tmp_file[128]; int ret = -1; |