]> The Tcpdump Group git mirrors - libpcap/commitdiff
Make declaration match definition.
authorGuy Harris <[email protected]>
Sat, 10 Nov 2018 21:38:00 +0000 (13:38 -0800)
committerGuy Harris <[email protected]>
Sat, 10 Nov 2018 21:38:00 +0000 (13:38 -0800)
gencode.h

index cc21e04384a6de10754dbbdb2cca102fc1603fcf..6aea7ab0d95cd6642134e549482ee3ee944a1601 100644 (file)
--- a/gencode.h
+++ b/gencode.h
@@ -325,7 +325,7 @@ struct block *gen_llc_s_subtype(compiler_state_t *, bpf_u_int32);
 struct block *gen_llc_u_subtype(compiler_state_t *, bpf_u_int32);
 
 struct block *gen_vlan(compiler_state_t *, bpf_u_int32, int);
-struct block *gen_mpls(compiler_state_t *, bpf_u_int32, int);
+struct block *gen_mpls(compiler_state_t *, volatile bpf_u_int32, int);
 
 struct block *gen_pppoed(compiler_state_t *);
 struct block *gen_pppoes(compiler_state_t *, bpf_u_int32, int);
@@ -338,7 +338,7 @@ struct block *gen_atmtype_abbrev(compiler_state_t *, int type);
 struct block *gen_atmmulti_abbrev(compiler_state_t *, int type);
 
 struct block *gen_mtp2type_abbrev(compiler_state_t *, int type);
-struct block *gen_mtp3field_code(compiler_state_t *, int, bpf_u_int32,
+struct block *gen_mtp3field_code(compiler_state_t *, int, volatile bpf_u_int32,
     bpf_u_int32, int);
 
 struct block *gen_pf_ifname(compiler_state_t *, const char *);