Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77eb8516 authored by Sven Wegener's avatar Sven Wegener Committed by Simon Horman
Browse files

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: default avatarSven Wegener <sven.wegener@stealer.net>
Acked-by: default avatarJulius Volz <juliusv@google.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent a5ba4bf2
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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,
}
}


#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,