mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
sctp: remove the typedef sctp_cid_t
This patch is to remove the typedef sctp_cid_t, and replace with struct sctp_cid in the places where it's using this typedef. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
922dbc5be2
commit
6d85e68f4c
7 changed files with 16 additions and 14 deletions
|
@ -130,7 +130,7 @@ typedef enum {
|
|||
*/
|
||||
|
||||
typedef union {
|
||||
sctp_cid_t chunk;
|
||||
enum sctp_cid chunk;
|
||||
sctp_event_timeout_t timeout;
|
||||
sctp_event_other_t other;
|
||||
sctp_event_primitive_t primitive;
|
||||
|
@ -141,7 +141,7 @@ static inline sctp_subtype_t \
|
|||
SCTP_ST_## _name (_type _arg) \
|
||||
{ sctp_subtype_t _retval; _retval._elt = _arg; return _retval; }
|
||||
|
||||
SCTP_SUBTYPE_CONSTRUCTOR(CHUNK, sctp_cid_t, chunk)
|
||||
SCTP_SUBTYPE_CONSTRUCTOR(CHUNK, enum sctp_cid, chunk)
|
||||
SCTP_SUBTYPE_CONSTRUCTOR(TIMEOUT, sctp_event_timeout_t, timeout)
|
||||
SCTP_SUBTYPE_CONSTRUCTOR(OTHER, sctp_event_other_t, other)
|
||||
SCTP_SUBTYPE_CONSTRUCTOR(PRIMITIVE, sctp_event_primitive_t, primitive)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue