diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-08-03 03:42:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-03 12:45:47 -0400 |
commit | 2a4932167772874c5bc4b3dfebf61cfadb5554b9 (patch) | |
tree | cf3636bf1a1e9a1e485b4ba823d217b9ab7f0164 /include/linux/sctp.h | |
parent | 87caeba7914979ef6a5765dfa3163b51a30133ab (diff) |
sctp: remove the typedef sctp_error_t
This patch is to remove the typedef sctp_error_t, and replace
with enum sctp_error 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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sctp.h b/include/linux/sctp.h index 07c12e98fa85..c74ea93e36eb 100644 --- a/include/linux/sctp.h +++ b/include/linux/sctp.h | |||
@@ -457,7 +457,7 @@ struct sctp_operr_chunk { | |||
457 | * 9 No User Data | 457 | * 9 No User Data |
458 | * 10 Cookie Received While Shutting Down | 458 | * 10 Cookie Received While Shutting Down |
459 | */ | 459 | */ |
460 | typedef enum { | 460 | enum sctp_error { |
461 | 461 | ||
462 | SCTP_ERROR_NO_ERROR = cpu_to_be16(0x00), | 462 | SCTP_ERROR_NO_ERROR = cpu_to_be16(0x00), |
463 | SCTP_ERROR_INV_STRM = cpu_to_be16(0x01), | 463 | SCTP_ERROR_INV_STRM = cpu_to_be16(0x01), |
@@ -512,7 +512,7 @@ typedef enum { | |||
512 | * 0x0105 Unsupported HMAC Identifier | 512 | * 0x0105 Unsupported HMAC Identifier |
513 | */ | 513 | */ |
514 | SCTP_ERROR_UNSUP_HMAC = cpu_to_be16(0x0105) | 514 | SCTP_ERROR_UNSUP_HMAC = cpu_to_be16(0x0105) |
515 | } sctp_error_t; | 515 | }; |
516 | 516 | ||
517 | 517 | ||
518 | 518 | ||