summaryrefslogtreecommitdiff
path: root/net/ipv4/ipvs
diff options
context:
space:
mode:
authorSven Wegener <sven.wegener@stealer.net>2008-09-05 14:43:00 +0200
committerSimon Horman <horms@verge.net.au>2008-09-08 09:34:44 +1000
commit77eb851630bba8ea9962a1b2f01b23bd5d57c58e (patch)
treee0f7b273495e5d8aef2bf24851c4c1b3655edbe6 /net/ipv4/ipvs
parenta5ba4bf2732c85d8c95e0432966f79aa2b159478 (diff)
ipvs: Mark tcp/udp v4 and v6 debug functions static
They are only used in this file, so they should be static Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Acked-by: Julius Volz <juliusv@google.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/ipv4/ipvs')
-rw-r--r--net/ipv4/ipvs/ip_vs_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ipvs/ip_vs_proto.c b/net/ipv4/ipvs/ip_vs_proto.c
index 50f6215beda..b06da1c3445 100644
--- a/net/ipv4/ipvs/ip_vs_proto.c
+++ b/net/ipv4/ipvs/ip_vs_proto.c
@@ -151,7 +151,7 @@ const char * ip_vs_state_name(__u16 proto, int state)
}
-void
+static void
ip_vs_tcpudp_debug_packet_v4(struct ip_vs_protocol *pp,
const struct sk_buff *skb,
int offset,
@@ -190,7 +190,7 @@ ip_vs_tcpudp_debug_packet_v4(struct ip_vs_protocol *pp,
}
#ifdef CONFIG_IP_VS_IPV6
-void
+static void
ip_vs_tcpudp_debug_packet_v6(struct ip_vs_protocol *pp,
const struct sk_buff *skb,
int offset,