diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-12-10 16:56:47 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-12-10 16:56:47 +0100 |
commit | c16b914a728f2786aaa4e1c44c092c3faaf1df48 (patch) | |
tree | 5b33edb77b0db638326c8814eee15366abfb3339 /bpf_parser.y | |
parent | 19fd2e57dc963f0e26e625645ee6a922cf3aed2f (diff) |
bpfc: make verbose parameter boolean
Verbose mode is a boolean option, so make the variable and parameters
carrying it of type bool.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf_parser.y')
-rw-r--r-- | bpf_parser.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpf_parser.y b/bpf_parser.y index 6f5f2b0..5082dd2 100644 --- a/bpf_parser.y +++ b/bpf_parser.y @@ -27,7 +27,7 @@ #include "die.h" #include "cpp.h" -int compile_filter(char *file, int verbose, int bypass, int format, +int compile_filter(char *file, bool verbose, int bypass, int format, bool invoke_cpp, char *const cpp_argv[]); static int curr_instr = 0; @@ -734,7 +734,7 @@ static void pretty_printer(const struct sock_fprog *prog, int format) } } -int compile_filter(char *file, int verbose, int bypass, int format, +int compile_filter(char *file, bool verbose, int bypass, int format, bool invoke_cpp, char *const cpp_argv[]) { int i; |