mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
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>
This commit is contained in:
committed by
David S. Miller
parent
87caeba791
commit
2a49321677
@@ -457,7 +457,7 @@ struct sctp_operr_chunk {
|
||||
* 9 No User Data
|
||||
* 10 Cookie Received While Shutting Down
|
||||
*/
|
||||
typedef enum {
|
||||
enum sctp_error {
|
||||
|
||||
SCTP_ERROR_NO_ERROR = cpu_to_be16(0x00),
|
||||
SCTP_ERROR_INV_STRM = cpu_to_be16(0x01),
|
||||
@@ -512,7 +512,7 @@ typedef enum {
|
||||
* 0x0105 Unsupported HMAC Identifier
|
||||
*/
|
||||
SCTP_ERROR_UNSUP_HMAC = cpu_to_be16(0x0105)
|
||||
} sctp_error_t;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user