summaryrefslogtreecommitdiff
path: root/bpf_parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'bpf_parser.y')
-rw-r--r--bpf_parser.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/bpf_parser.y b/bpf_parser.y
index 2c566a1..6f5f2b0 100644
--- a/bpf_parser.y
+++ b/bpf_parser.y
@@ -28,7 +28,7 @@
#include "cpp.h"
int compile_filter(char *file, int verbose, int bypass, int format,
- bool invoke_cpp, char **cpp_argv);
+ bool invoke_cpp, char *const cpp_argv[]);
static int curr_instr = 0;
@@ -735,7 +735,7 @@ static void pretty_printer(const struct sock_fprog *prog, int format)
}
int compile_filter(char *file, int verbose, int bypass, int format,
- bool invoke_cpp, char **cpp_argv)
+ bool invoke_cpp, char *const cpp_argv[])
{
int i;
struct sock_fprog res;