[前][次][番号順一覧][スレッド一覧]

ruby-changes:72266

From: Nobuyoshi <ko1@a...>
Date: Tue, 21 Jun 2022 12:14:01 +0900 (JST)
Subject: [ruby-changes:72266] a0b24f5926 (master): [ruby/io-wait] Remove redundant forward declarations

https://git.ruby-lang.org/ruby.git/commit/?id=a0b24f5926

From a0b24f592614262c08a3a4cb07cf0c847389d0a3 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 21 Jun 2022 12:08:48 +0900
Subject: [ruby/io-wait] Remove redundant forward declarations

These were needed before prototype declarations were used.

https://github.com/ruby/io-wait/commit/35f016833a
---
 ext/io/wait/wait.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/ext/io/wait/wait.c b/ext/io/wait/wait.c
index 568c7b54a8..7fb0a4a1e6 100644
--- a/ext/io/wait/wait.c
+++ b/ext/io/wait/wait.c
@@ -41,11 +41,6 @@ https://github.com/ruby/ruby/blob/trunk/ext/io/wait/wait.c#L41
 #endif
 
 #ifndef HAVE_RB_IO_WAIT
-static VALUE io_ready_p _((VALUE io));
-static VALUE io_wait_readable _((int argc, VALUE *argv, VALUE io));
-static VALUE io_wait_writable _((int argc, VALUE *argv, VALUE io));
-void Init_wait _((void));
-
 static struct timeval *
 get_timeout(int argc, VALUE *argv, struct timeval *timerec)
 {
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]