diff options
-rw-r--r-- | include/net/sctp/sctp.h | 2 | ||||
-rw-r--r-- | net/sctp/ipv6.c | 4 | ||||
-rw-r--r-- | net/sctp/protocol.c | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h index c818f87122af..28af68059521 100644 --- a/include/net/sctp/sctp.h +++ b/include/net/sctp/sctp.h | |||
@@ -128,8 +128,6 @@ extern int sctp_copy_local_addr_list(struct sctp_bind_addr *, | |||
128 | int flags); | 128 | int flags); |
129 | extern struct sctp_pf *sctp_get_pf_specific(sa_family_t family); | 129 | extern struct sctp_pf *sctp_get_pf_specific(sa_family_t family); |
130 | extern int sctp_register_pf(struct sctp_pf *, sa_family_t); | 130 | extern int sctp_register_pf(struct sctp_pf *, sa_family_t); |
131 | int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev, | ||
132 | void *ptr); | ||
133 | 131 | ||
134 | /* | 132 | /* |
135 | * sctp/socket.c | 133 | * sctp/socket.c |
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. */ |
82 | int sctp_inet6addr_event(struct notifier_block *this, unsigned long ev, | 82 | static 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. */ |
604 | int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev, | 604 | static 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; |