Skip to content

Commit

Permalink
ipvs: Mark tcp/udp v4 and v6 debug functions static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sven Wegener authored and Simon Horman committed Sep 7, 2008
1 parent a5ba4bf commit 77eb851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ipv4/ipvs/ip_vs_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 77eb851

Please sign in to comment.