mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
sctp: remove the typedef sctp_state_t
This patch is to remove the typedef sctp_state_t, and replace with enum sctp_state 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
4785c7ae18
commit
5210601945
9 changed files with 28 additions and 26 deletions
|
@ -54,7 +54,7 @@ int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \
|
|||
void *arg) { \
|
||||
int error = 0; \
|
||||
sctp_event_t event_type; sctp_subtype_t subtype; \
|
||||
sctp_state_t state; \
|
||||
enum sctp_state state; \
|
||||
struct sctp_endpoint *ep; \
|
||||
\
|
||||
event_type = SCTP_EVENT_T_PRIMITIVE; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue