diff options
author | Ioan Orghici <ioanorghici@gmail.com> | 2012-07-13 03:16:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-17 02:23:52 -0400 |
commit | db28aafad91ee23b7075e5372d92ed364d54e9fb (patch) | |
tree | b48d7f9174697006dff92ec7080dd267a3e6b1c7 /net/sctp | |
parent | efdfad3205403e1d1c5c0bdcbdb647ddd89bfaa3 (diff) |
sctp: fix sparse warning for sctp_init_cause_fixed
Fix the following sparse warning:
* symbol 'sctp_init_cause_fixed' was not declared. Should it be
static?
Signed-off-by: Ioan Orghici <ioanorghici@gmail.com>
Acked-by: Vlad Yasevich <vyasevich@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/sm_make_chunk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_make_chunk.c b/net/sctp/sm_make_chunk.c index b6de71efb14..479a70ef6ff 100644 --- a/net/sctp/sm_make_chunk.c +++ b/net/sctp/sm_make_chunk.c | |||
@@ -132,7 +132,7 @@ void sctp_init_cause(struct sctp_chunk *chunk, __be16 cause_code, | |||
132 | * abort chunk. Differs from sctp_init_cause in that it won't oops | 132 | * abort chunk. Differs from sctp_init_cause in that it won't oops |
133 | * if there isn't enough space in the op error chunk | 133 | * if there isn't enough space in the op error chunk |
134 | */ | 134 | */ |
135 | int sctp_init_cause_fixed(struct sctp_chunk *chunk, __be16 cause_code, | 135 | static int sctp_init_cause_fixed(struct sctp_chunk *chunk, __be16 cause_code, |
136 | size_t paylen) | 136 | size_t paylen) |
137 | { | 137 | { |
138 | sctp_errhdr_t err; | 138 | sctp_errhdr_t err; |