aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-17 11:29:56 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-16 20:52:14 -0700
commit15328d9feede450d64ff77cac5d25bc734ec8b27 (patch)
treed12ad74962c0f63039d4e6ca84ba907a28f8dee0 /include/linux/sctp.h
parentsctp: remove the typedef sctp_adaptation_ind_param_t (diff)
downloadlinux-dev-15328d9feede450d64ff77cac5d25bc734ec8b27.tar.xz
linux-dev-15328d9feede450d64ff77cac5d25bc734ec8b27.zip
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/linux/sctp.h')
-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 {