diff options
author | sebastian@breakpoint.cc <sebastian@breakpoint.cc> | 2007-07-26 17:21:31 -0400 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2007-08-01 11:19:05 -0400 |
commit | 046752104c7090e3679b09274f02d8fd2aa0b4b2 (patch) | |
tree | 01290170fb902ff8d21260ac643fe66f5bb981a3 /net/sctp/socket.c | |
parent | fc34f6c617bf2a845d793af12b96bcc0afd472c4 (diff) |
sctp: make locally used function static
Forward declarion is static, the function itself is not. Make it
consistent.
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 | */ |
436 | int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) | 436 | static 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 | */ |
605 | int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) | 605 | static 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 | ||
5967 | void sctp_wait_for_close(struct sock *sk, long timeout) | 5967 | static void sctp_wait_for_close(struct sock *sk, long timeout) |
5968 | { | 5968 | { |
5969 | DEFINE_WAIT(wait); | 5969 | DEFINE_WAIT(wait); |
5970 | 5970 | ||