diff options
Diffstat (limited to 'include/net/sctp/command.h')
-rw-r--r-- | include/net/sctp/command.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/sctp/command.h b/include/net/sctp/command.h index 35b1e83fb96a..88988ab03d75 100644 --- a/include/net/sctp/command.h +++ b/include/net/sctp/command.h | |||
@@ -206,12 +206,11 @@ typedef struct { | |||
206 | int sctp_init_cmd_seq(sctp_cmd_seq_t *seq); | 206 | int sctp_init_cmd_seq(sctp_cmd_seq_t *seq); |
207 | 207 | ||
208 | /* Add a command to an sctp_cmd_seq_t. | 208 | /* Add a command to an sctp_cmd_seq_t. |
209 | * Return 0 if the command sequence is full. | ||
210 | * | 209 | * |
211 | * Use the SCTP_* constructors defined by SCTP_ARG_CONSTRUCTOR() above | 210 | * Use the SCTP_* constructors defined by SCTP_ARG_CONSTRUCTOR() above |
212 | * to wrap data which goes in the obj argument. | 211 | * to wrap data which goes in the obj argument. |
213 | */ | 212 | */ |
214 | int sctp_add_cmd(sctp_cmd_seq_t *seq, sctp_verb_t verb, sctp_arg_t obj); | 213 | void sctp_add_cmd_sf(sctp_cmd_seq_t *seq, sctp_verb_t verb, sctp_arg_t obj); |
215 | 214 | ||
216 | /* Return the next command structure in an sctp_cmd_seq. | 215 | /* Return the next command structure in an sctp_cmd_seq. |
217 | * Return NULL at the end of the sequence. | 216 | * Return NULL at the end of the sequence. |