diff options
| author | Michael Forney <mforney@mforney.org> | 2024-03-21 23:29:18 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2024-03-21 23:29:18 -0700 |
| commit | 594971b59caa1d75f0179de8d612375f410a7566 (patch) | |
| tree | dd14cb80cc3c90a9019b0d9442a2dd8d6a02d9df /pkg/iproute2/patch/0014-Remove-flexible-array-member-in-embedded-struct.patch | |
| parent | 01eb93d6f752c2bb3815bb794572231651f105fa (diff) | |
Remove obsolete portability patches with C23 and new cproc
Diffstat (limited to 'pkg/iproute2/patch/0014-Remove-flexible-array-member-in-embedded-struct.patch')
| -rw-r--r-- | pkg/iproute2/patch/0014-Remove-flexible-array-member-in-embedded-struct.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/iproute2/patch/0014-Remove-flexible-array-member-in-embedded-struct.patch b/pkg/iproute2/patch/0014-Remove-flexible-array-member-in-embedded-struct.patch new file mode 100644 index 00000000..2e946d9c --- /dev/null +++ b/pkg/iproute2/patch/0014-Remove-flexible-array-member-in-embedded-struct.patch @@ -0,0 +1,25 @@ +From 32f3e01aeae44068c040bb999f8e7ece8609dba5 Mon Sep 17 00:00:00 2001 +From: Michael Forney <mforney@mforney.org> +Date: Sat, 4 Dec 2021 00:50:36 -0800 +Subject: [PATCH] Remove flexible array member in embedded struct + +--- + include/uapi/linux/sctp.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/uapi/linux/sctp.h b/include/uapi/linux/sctp.h +index 53fdfafc..3a98a867 100644 +--- a/include/uapi/linux/sctp.h ++++ b/include/uapi/linux/sctp.h +@@ -577,7 +577,7 @@ struct sctp_stream_reset_event { + __u16 strreset_flags; + __u32 strreset_length; + sctp_assoc_t strreset_assoc_id; +- __u16 strreset_stream_list[]; ++ __u16 strreset_stream_list[0]; + }; + + #define SCTP_ASSOC_RESET_DENIED 0x0004 +-- +2.34.0 + |
