提交 77eb8516 编写于 作者: S Sven Wegener 提交者: Simon Horman

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: NSven Wegener <sven.wegener@stealer.net>
Acked-by: NJulius Volz <juliusv@google.com>
Signed-off-by: NSimon Horman <horms@verge.net.au>
上级 a5ba4bf2
...@@ -151,7 +151,7 @@ const char * ip_vs_state_name(__u16 proto, int state) ...@@ -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, ip_vs_tcpudp_debug_packet_v4(struct ip_vs_protocol *pp,
const struct sk_buff *skb, const struct sk_buff *skb,
int offset, int offset,
...@@ -190,7 +190,7 @@ ip_vs_tcpudp_debug_packet_v4(struct ip_vs_protocol *pp, ...@@ -190,7 +190,7 @@ ip_vs_tcpudp_debug_packet_v4(struct ip_vs_protocol *pp,
} }
#ifdef CONFIG_IP_VS_IPV6 #ifdef CONFIG_IP_VS_IPV6
void static void
ip_vs_tcpudp_debug_packet_v6(struct ip_vs_protocol *pp, ip_vs_tcpudp_debug_packet_v6(struct ip_vs_protocol *pp,
const struct sk_buff *skb, const struct sk_buff *skb,
int offset, int offset,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册