aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-12-20 19:08:22 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-22 14:12:05 -0500
commit24123186fa271e7ad34a40f815782e6205f34ff7 (patch)
tree5db803011d88a66eb52a37a30a0e7aa4a8f76e1f /net/sctp
parent0f3fffd8ab1db7658c97c167e8ab001cc814e1f4 (diff)
[SCTP]: make 2 functions static
This patch makes the following needlessly global functions static: - ipv6.c: sctp_inet6addr_event() - protocol.c: sctp_inetaddr_event() Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Sridhar Samudrala <sri@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/ipv6.c4
-rw-r--r--net/sctp/protocol.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index d8d36dee5ab6..ef36be073a13 100644
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -79,8 +79,8 @@
79#include <asm/uaccess.h> 79#include <asm/uaccess.h>
80 80
81/* Event handler for inet6 address addition/deletion events. */ 81/* Event handler for inet6 address addition/deletion events. */
82int sctp_inet6addr_event(struct notifier_block *this, unsigned long ev, 82static int sctp_inet6addr_event(struct notifier_block *this, unsigned long ev,
83 void *ptr) 83 void *ptr)
84{ 84{
85 struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr; 85 struct inet6_ifaddr *ifa = (struct inet6_ifaddr *)ptr;
86 struct sctp_sockaddr_entry *addr; 86 struct sctp_sockaddr_entry *addr;
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 3a3db56729ce..225f39b5d595 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -601,8 +601,8 @@ static void sctp_v4_seq_dump_addr(struct seq_file *seq, union sctp_addr *addr)
601} 601}
602 602
603/* Event handler for inet address addition/deletion events. */ 603/* Event handler for inet address addition/deletion events. */
604int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev, 604static int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev,
605 void *ptr) 605 void *ptr)
606{ 606{
607 struct in_ifaddr *ifa = (struct in_ifaddr *)ptr; 607 struct in_ifaddr *ifa = (struct in_ifaddr *)ptr;
608 struct sctp_sockaddr_entry *addr; 608 struct sctp_sockaddr_entry *addr;