From: guy Date: Mon, 25 Apr 2005 18:59:20 +0000 (+0000) Subject: "gen_portatom()" and "gen_portatom6()" are declared as static; define X-Git-Tag: libpcap-0.9.1~34 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/fa82a02ff2d323016ed53d01a6ea8e4ffa2ff023 "gen_portatom()" and "gen_portatom6()" are declared as static; define them as static as well. --- diff --git a/gencode.c b/gencode.c index 37b02225..cbe6a5c3 100644 --- a/gencode.c +++ b/gencode.c @@ -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;