remove zero-size array in io_uring.h
PATCH 1/1 remove zero-size array in io_uring.h
This fixes compilation with -Werror=pedantic.
Signed-off-by Akinobu Mita <[email protected]>
--- src/include/liburing/io_uring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/include/liburing/io_uring.h +1 -1
@@ -308,7 +308,7 @@ struct io_uring_probe {__u8 ops_len;/* length of ops[] array below */ __u16 resv;__u32 resv2[3 ]; -struct io_uring_probe_op ops[0 ]; +struct io_uring_probe_op ops[]; };struct io_uring_restriction {
Signature · 1 line
2.25.1
Quoted 1 line · Akinobu Mita
This fixes compilation with -Werror=pedantic.
Applied, thanks.
Signature · 1 line
Jens Axboe