]> The Tcpdump Group git mirrors - libpcap/commitdiff
gencode: fix prototype to match function.
authorGuy Harris <[email protected]>
Tue, 21 Jan 2025 21:22:08 +0000 (13:22 -0800)
committerGuy Harris <[email protected]>
Tue, 21 Jan 2025 23:32:29 +0000 (15:32 -0800)
gencode.h

index 194004346322deff4d8e568d29be7615d3b23247..22752ed1aabfe19cbeaf99bf722eff51c324227d 100644 (file)
--- a/gencode.h
+++ b/gencode.h
@@ -341,7 +341,7 @@ struct block *gen_byteop(compiler_state_t *, int, int, bpf_u_int32);
 struct block *gen_broadcast(compiler_state_t *, int);
 struct block *gen_multicast(compiler_state_t *, int);
 struct block *gen_ifindex(compiler_state_t *, int);
-struct block *gen_inbound_outbound(compiler_state_t *, int);
+struct block *gen_inbound_outbound(compiler_state_t *, const int);
 
 struct block *gen_llc(compiler_state_t *);
 struct block *gen_llc_i(compiler_state_t *);