sctp: make sctp_addr_wq_timeout_handler static
authorstephen hemminger <shemminger@vyatta.com>
Fri, 28 Dec 2012 18:18:55 +0000 (18:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Dec 2012 04:32:36 +0000 (20:32 -0800)
Fix sparse warning about local function that should be static.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c

index f898b1c..1c2e46c 100644 (file)
@@ -595,7 +595,7 @@ static void sctp_v4_ecn_capable(struct sock *sk)
        INET_ECN_xmit(sk);
 }
 
-void sctp_addr_wq_timeout_handler(unsigned long arg)
+static void sctp_addr_wq_timeout_handler(unsigned long arg)
 {
        struct net *net = (struct net *)arg;
        struct sctp_sockaddr_entry *addrw, *temp;