summaryrefslogtreecommitdiff
path: root/trafgen_parser.y
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-10-13 18:56:11 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-10-13 18:56:11 +0200
commitde964cc2a201e442ddcd27f91ed6eef1a096c3b6 (patch)
tree8b9da931ddca94cd6dc1994455c6ca2bbd024e14 /trafgen_parser.y
parent895377c6e96ec8ac853568eb275043741a7621cd (diff)
trafgen: Change signature of compile_packets() to match provided types
Match two arguments to the respective types provided in its only caller in trafgen.c:main_loop() Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_parser.y')
-rw-r--r--trafgen_parser.y2
1 files changed, 1 insertions, 1 deletions
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;