summaryrefslogtreecommitdiff
path: root/include/linux/sctp.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-07-23 04:34:27 +0300
committerDavid S. Miller <davem@davemloft.net>2017-07-25 02:01:19 +0300
commitf48ef4c7f7979e8e658b7e038a82f096ab292d70 (patch)
tree74edef23e49ef526aa5a81a24f020d570b1f32f1 /include/linux/sctp.h
parentcb1844c47279fb59129f8a021a0b09bcf2011ad7 (diff)
downloadlinux-f48ef4c7f7979e8e658b7e038a82f096ab292d70.tar.xz
sctp: remove the typedef sctp_cookie_param_t
This patch is to remove the typedef sctp_cookie_param_t, and replace with struct sctp_cookie_param 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 '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 05c2099be537..9e77abda2111 100644
--- a/include/linux/sctp.h
+++ b/include/linux/sctp.h
@@ -342,10 +342,10 @@ struct sctp_initack_chunk {
};
/* Section 3.3.3.1 State Cookie (7) */
-typedef struct sctp_cookie_param {
+struct sctp_cookie_param {
struct sctp_paramhdr p;
__u8 body[0];
-} sctp_cookie_param_t;
+};
/* Section 3.3.3.1 Unrecognized Parameters (8) */
typedef struct sctp_unrecognized_param {