[PATCH] ipvs: Mark tcp/udp v4 and v6 debug functions static

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sven Wegener
Date: Friday, September 5, 2008 - 5:43 am

They are only used in this file, so they should be static

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
---
 net/ipv4/ipvs/ip_vs_proto.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Simon, please apply onto lvs-next-2.6.

diff --git a/net/ipv4/ipvs/ip_vs_proto.c b/net/ipv4/ipvs/ip_vs_proto.c
index 50f6215..b06da1c 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,
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCHv3 00/24] Add first IPv6 support to IPVS, Julius Volz, (Tue Sep 2, 6:55 am)
[PATCHv3 23/24] IPVS: Activate IPv6 Netfilter hooks, Julius Volz, (Tue Sep 2, 6:55 am)
Re: [PATCHv3 00/24] Add first IPv6 support to IPVS, Simon Horman, (Tue Sep 2, 5:40 pm)
Re: [PATCHv3 00/24] Add first IPv6 support to IPVS, Julius Volz, (Wed Sep 3, 2:03 am)
Re: [PATCHv3 00/24] Add first IPv6 support to IPVS, Simon Horman, (Thu Sep 4, 6:25 pm)
Re: [PATCHv3 00/24] Add first IPv6 support to IPVS, Julius Volz, (Fri Sep 5, 4:05 am)
[PATCH] ipvs: Use pointer to address from sync message, Sven Wegener, (Fri Sep 5, 4:46 am)
[PATCH] ipvs: Mark tcp/udp v4 and v6 debug functions static, Sven Wegener, (Fri Sep 5, 5:43 am)