File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1035,7 +1035,7 @@ VALUE IO_Event_Selector_EPoll_wakeup(VALUE self) {
10351035 return Qfalse ;
10361036}
10371037
1038- int IO_Event_Selector_EPoll_supported_p () {
1038+ static int IO_Event_Selector_EPoll_supported_p (void ) {
10391039 int fd = epoll_create1 (EPOLL_CLOEXEC );
10401040
10411041 if (fd < 0 ) {
Original file line number Diff line number Diff line change @@ -1046,7 +1046,7 @@ VALUE IO_Event_Selector_KQueue_wakeup(VALUE self) {
10461046}
10471047
10481048
1049- int IO_Event_Selector_KQueue_supported_p () {
1049+ static int IO_Event_Selector_KQueue_supported_p (void ) {
10501050 int fd = kqueue ();
10511051
10521052 if (fd < 0 ) {
Original file line number Diff line number Diff line change @@ -1175,7 +1175,7 @@ VALUE IO_Event_Selector_URing_wakeup(VALUE self) {
11751175
11761176#pragma mark - Native Methods
11771177
1178- int IO_Event_Selector_URing_supported_p () {
1178+ static int IO_Event_Selector_URing_supported_p (void ) {
11791179 struct io_uring ring ;
11801180 int result = io_uring_queue_init (1 , & ring , 0 );
11811181
You can’t perform that action at this time.
0 commit comments