diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-05 20:00:03 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-06 21:33:42 -0700 |
commit | 61f0eb072294a148f707335d4d7f858b2af73770 (patch) | |
tree | 60607bb7a36c73e809634de8e29a67da7023bf63 /net/sctp/primitive.c | |
parent | 19cd1592a24754e16d48398812d5f69b63f674dd (diff) | |
download | lwn-61f0eb072294a148f707335d4d7f858b2af73770.tar.gz lwn-61f0eb072294a148f707335d4d7f858b2af73770.zip |
sctp: remove the typedef sctp_event_t
This patch is to remove the typedef sctp_event_t, and
replace with enum sctp_event 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>
Diffstat (limited to 'net/sctp/primitive.c')
-rw-r--r-- | net/sctp/primitive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/primitive.c b/net/sctp/primitive.c index 1fb5b9bb3c6d..c914166984b3 100644 --- a/net/sctp/primitive.c +++ b/net/sctp/primitive.c @@ -53,7 +53,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; \ + enum sctp_event event_type; sctp_subtype_t subtype; \ enum sctp_state state; \ struct sctp_endpoint *ep; \ \ |