diff options
author | tuexen <tuexen@FreeBSD.org> | 2011-12-17 19:21:40 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2011-12-17 19:21:40 +0000 |
commit | 3a4d069b2199e006b818f29a19b3e36a6621f88a (patch) | |
tree | 028996ed733914976c1e3a0b8fa01b3207695ee6 /sys/netinet/sctputil.h | |
parent | 485500f77ecf504735471fd5c4bd9398f32277c4 (diff) | |
download | FreeBSD-src-3a4d069b2199e006b818f29a19b3e36a6621f88a.zip FreeBSD-src-3a4d069b2199e006b818f29a19b3e36a6621f88a.tar.gz |
Fix unused parameter warnings.
While there, fix some whitespace issues.
MFC after: 3 months.
Diffstat (limited to 'sys/netinet/sctputil.h')
-rw-r--r-- | sys/netinet/sctputil.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/netinet/sctputil.h b/sys/netinet/sctputil.h index 460adc7..bbaaaa4 100644 --- a/sys/netinet/sctputil.h +++ b/sys/netinet/sctputil.h @@ -7,11 +7,11 @@ * modification, are permitted provided that the following conditions are met: * * a) Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. + * this list of conditions and the following disclaimer. * * b) Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in - * the documentation and/or other materials provided with the distribution. + * the documentation and/or other materials provided with the distribution. * * c) Neither the name of Cisco Systems, Inc. nor the names of its * contributors may be used to endorse or promote products derived @@ -127,7 +127,7 @@ sctp_append_to_readq(struct sctp_inpcb *inp, void sctp_iterator_worker(void); uint32_t sctp_get_prev_mtu(uint32_t); -uint32_t sctp_get_next_mtu(struct sctp_inpcb *, uint32_t); +uint32_t sctp_get_next_mtu(uint32_t); void sctp_timeout_handler(void *); @@ -250,7 +250,7 @@ sctp_bindx_add_address(struct socket *so, struct sctp_inpcb *inp, struct sockaddr *sa, sctp_assoc_t assoc_id, uint32_t vrf_id, int *error, void *p); void -sctp_bindx_delete_address(struct socket *so, struct sctp_inpcb *inp, +sctp_bindx_delete_address(struct sctp_inpcb *inp, struct sockaddr *sa, sctp_assoc_t assoc_id, uint32_t vrf_id, int *error); @@ -333,7 +333,6 @@ void void sctp_wakeup_log(struct sctp_tcb *stcb, - uint32_t cumtsn, uint32_t wake_cnt, int from); void sctp_log_strm_del_alt(struct sctp_tcb *stcb, uint32_t, uint16_t, uint16_t, int); @@ -359,7 +358,7 @@ void sctp_log_closing(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int16_t loc void sctp_log_lock(struct sctp_inpcb *inp, struct sctp_tcb *stcb, uint8_t from); void sctp_log_maxburst(struct sctp_tcb *stcb, struct sctp_nets *, int, int, uint8_t); -void sctp_log_block(uint8_t, struct socket *, struct sctp_association *, int); +void sctp_log_block(uint8_t, struct sctp_association *, int); void sctp_log_rwnd(uint8_t, uint32_t, uint32_t, uint32_t); void sctp_log_mbcnt(uint8_t, uint32_t, uint32_t, uint32_t, uint32_t); void sctp_log_rwnd_set(uint8_t, uint32_t, uint32_t, uint32_t, uint32_t); |