aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter/ip_nat_core.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-11-29 16:28:18 -0800
committerDavid S. Miller <davem@davemloft.net>2005-11-29 16:28:18 -0800
commitd127e94a5cf1c9c996b8c67cd2595b96c3e35e4c (patch)
treed79df4d600f0c81e7b156bc5e8c6448e28ab6ee7 /net/ipv4/netfilter/ip_nat_core.c
parent[IPV4]: make two functions static (diff)
downloadlinux-dev-d127e94a5cf1c9c996b8c67cd2595b96c3e35e4c.tar.xz
linux-dev-d127e94a5cf1c9c996b8c67cd2595b96c3e35e4c.zip
[NETFILTER] ipv4: small cleanups
This patch contains the following cleanups: - make needlessly global code static - ip_conntrack_core.c: ip_conntrack_flush() -> ip_conntrack_flush(void) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv4/netfilter/ip_nat_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_nat_core.c b/net/ipv4/netfilter/ip_nat_core.c
index 762f4d93936b..c1a61462507f 100644
--- a/net/ipv4/netfilter/ip_nat_core.c
+++ b/net/ipv4/netfilter/ip_nat_core.c
@@ -49,7 +49,7 @@ static unsigned int ip_nat_htable_size;
static struct list_head *bysource;
#define MAX_IP_NAT_PROTO 256
-struct ip_nat_protocol *ip_nat_protos[MAX_IP_NAT_PROTO];
+static struct ip_nat_protocol *ip_nat_protos[MAX_IP_NAT_PROTO];
static inline struct ip_nat_protocol *
__ip_nat_proto_find(u_int8_t protonum)