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

ruby-changes:65202

From: Nobuyoshi <ko1@a...>
Date: Tue, 9 Feb 2021 17:40:23 +0900 (JST)
Subject: [ruby-changes:65202] e7416b4c7e (master): Updated pre-prototype declarations

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

From e7416b4c7e65654fcee173d85bb6d46f0dd40c62 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Tue, 9 Feb 2021 17:11:14 +0900
Subject: Updated pre-prototype declarations

---
 include/ruby/fiber/scheduler.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/ruby/fiber/scheduler.h b/include/ruby/fiber/scheduler.h
index 741cc24..36d1726 100644
--- a/include/ruby/fiber/scheduler.h
+++ b/include/ruby/fiber/scheduler.h
@@ -12,10 +12,10 @@ https://github.com/ruby/ruby/blob/trunk/include/ruby/fiber/scheduler.h#L12
 #include "ruby/ruby.h"
 #include "ruby/intern.h"
 
-VALUE rb_fiber_scheduler_get();
+VALUE rb_fiber_scheduler_get(void);
 VALUE rb_fiber_scheduler_set(VALUE scheduler);
 
-VALUE rb_fiber_scheduler_current();
+VALUE rb_fiber_scheduler_current(void);
 VALUE rb_fiber_scheduler_current_for_thread(VALUE thread);
 
 VALUE rb_fiber_scheduler_make_timeout(struct timeval *timeout);
-- 
cgit v1.1


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

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