aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorXin Long2017-07-17 11:29:56 +0800
committerDavid S. Miller2017-07-16 20:52:14 -0700
commit15328d9feede450d64ff77cac5d25bc734ec8b27 (patch)
treed12ad74962c0f63039d4e6ca84ba907a28f8dee0 /include
parent85f6bd24ac579ef0926eb4c564ba1f3c8a7f8563 (diff)
sctp: remove the typedef sctp_supported_ext_param_t
This patch is to remove the typedef sctp_supported_ext_param_t, and replace with struct sctp_supported_ext_param in the places where it's using this typedef. It is also to use sizeof(variable) instead of sizeof(type). Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/sctp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h
index 72b87874ea76..76245685f923 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -309,10 +309,10 @@ struct sctp_adaptation_ind_param {
};
/* ADDIP Section 4.2.7 Supported Extensions Parameter */
-typedef struct sctp_supported_ext_param {
+struct sctp_supported_ext_param {
struct sctp_paramhdr param_hdr;
__u8 chunks[0];
-} sctp_supported_ext_param_t;
+};
/* AUTH Section 3.1 Random */
typedef struct sctp_random_param {