sctp: rename enum sctp_event to sctp_event_type
sctp_event is a structure name defined in RFC for sockopt SCTP_EVENT. To avoid the conflict, rename it. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
a1e3a0590f
commit
88ee48c1f3
@@ -53,7 +53,7 @@
|
||||
int sctp_primitive_ ## name(struct net *net, struct sctp_association *asoc, \
|
||||
void *arg) { \
|
||||
int error = 0; \
|
||||
enum sctp_event event_type; union sctp_subtype subtype; \
|
||||
enum sctp_event_type event_type; union sctp_subtype subtype; \
|
||||
enum sctp_state state; \
|
||||
struct sctp_endpoint *ep; \
|
||||
\
|
||||
|
Reference in New Issue
Block a user