24 lines
616 B
Diff
24 lines
616 B
Diff
|
Index: gevent-21.1.2/deps/libev/ev_iouring.c
|
||
|
===================================================================
|
||
|
--- gevent-21.1.2.orig/deps/libev/ev_iouring.c
|
||
|
+++ gevent-21.1.2/deps/libev/ev_iouring.c
|
||
|
@@ -286,6 +286,9 @@ iouring_sqe_get (EV_P)
|
||
|
return EV_SQES + (tail & EV_SQ_VAR (ring_mask));
|
||
|
}
|
||
|
|
||
|
+#pragma GCC diagnostic push
|
||
|
+#pragma GCC diagnostic ignored "-Wreturn-type"
|
||
|
+
|
||
|
inline_size
|
||
|
struct io_uring_sqe *
|
||
|
iouring_sqe_submit (EV_P_ struct io_uring_sqe *sqe)
|
||
|
@@ -330,6 +333,8 @@ iouring_internal_destroy (EV_P)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
+#pragma GCC diagnostic pop
|
||
|
+
|
||
|
ecb_cold
|
||
|
static int
|
||
|
iouring_internal_init (EV_P)
|