aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sctp/input.c2
-rw-r--r--net/sctp/socket.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c
index d57ff7f3c576..47e56017f4ce 100644
--- a/net/sctp/input.c
+++ b/net/sctp/input.c
@@ -590,7 +590,7 @@ out_unlock:
590 * Return 0 - If further processing is needed. 590 * Return 0 - If further processing is needed.
591 * Return 1 - If the packet can be discarded right away. 591 * Return 1 - If the packet can be discarded right away.
592 */ 592 */
593int sctp_rcv_ootb(struct sk_buff *skb) 593static int sctp_rcv_ootb(struct sk_buff *skb)
594{ 594{
595 sctp_chunkhdr_t *ch; 595 sctp_chunkhdr_t *ch;
596 __u8 *ch_end; 596 __u8 *ch_end;
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index ee88f2ea5101..f8bacc898e12 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -433,7 +433,7 @@ out:
433 * 433 *
434 * Only sctp_setsockopt_bindx() is supposed to call this function. 434 * Only sctp_setsockopt_bindx() is supposed to call this function.
435 */ 435 */
436int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) 436static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt)
437{ 437{
438 int cnt; 438 int cnt;
439 int retval = 0; 439 int retval = 0;
@@ -602,7 +602,7 @@ out:
602 * 602 *
603 * Only sctp_setsockopt_bindx() is supposed to call this function. 603 * Only sctp_setsockopt_bindx() is supposed to call this function.
604 */ 604 */
605int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) 605static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt)
606{ 606{
607 struct sctp_sock *sp = sctp_sk(sk); 607 struct sctp_sock *sp = sctp_sk(sk);
608 struct sctp_endpoint *ep = sp->ep; 608 struct sctp_endpoint *ep = sp->ep;
@@ -5964,7 +5964,7 @@ static int sctp_wait_for_accept(struct sock *sk, long timeo)
5964 return err; 5964 return err;
5965} 5965}
5966 5966
5967void sctp_wait_for_close(struct sock *sk, long timeout) 5967static void sctp_wait_for_close(struct sock *sk, long timeout)
5968{ 5968{
5969 DEFINE_WAIT(wait); 5969 DEFINE_WAIT(wait);
5970 5970