"gen_portatom()" and "gen_portatom6()" are declared as static; define
them as static as well.
This commit is contained in:
parent
eb18a17db5
commit
fa82a02ff2
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
#ifndef lint
|
||||
static const char rcsid[] _U_ =
|
||||
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.221.2.7 2005-04-23 22:27:37 guy Exp $ (LBL)";
|
||||
"@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.221.2.8 2005-04-25 18:59:20 guy Exp $ (LBL)";
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
|
@ -3386,7 +3386,7 @@ gen_port6(port, ip_proto, dir)
|
|||
#endif /* INET6 */
|
||||
|
||||
/* gen_portrange code */
|
||||
struct block *
|
||||
static struct block *
|
||||
gen_portrangeatom(off, v1, v2)
|
||||
int off;
|
||||
bpf_int32 v1, v2;
|
||||
|
@ -3507,7 +3507,7 @@ gen_portrange(port1, port2, ip_proto, dir)
|
|||
}
|
||||
|
||||
#ifdef INET6
|
||||
struct block *
|
||||
static struct block *
|
||||
gen_portrangeatom6(off, v1, v2)
|
||||
int off;
|
||||
bpf_int32 v1, v2;
|
||||
|
|
Reference in New Issue