summaryrefslogtreecommitdiff
path: root/bpf_parser.y
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-12-16 11:46:44 +0100
committerTobias Klauser <tklauser@distanz.ch>2016-12-16 11:46:44 +0100
commit3608cf700a27240e343d1173f5782a0398102c16 (patch)
treecce71db1da1ad48ec781317311586e1348af406a /bpf_parser.y
parent3b2e6e86d7f86dceb8c3bd86a7cf22aba1a88e26 (diff)
bpfc: Remove unnecessary prototype for compile_filter()
compile_filter() is defined in bpf_parser.y (and thus the generated parser), no need for a prototype beforehand. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf_parser.y')
-rw-r--r--bpf_parser.y3
1 files changed, 0 insertions, 3 deletions
diff --git a/bpf_parser.y b/bpf_parser.y
index 5082dd2..3008fd5 100644
--- a/bpf_parser.y
+++ b/bpf_parser.y
@@ -27,9 +27,6 @@
#include "die.h"
#include "cpp.h"
-int compile_filter(char *file, bool verbose, int bypass, int format,
- bool invoke_cpp, char *const cpp_argv[]);
-
static int curr_instr = 0;
static struct sock_filter out[BPF_MAXINSNS];