summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:43:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:43:41 +0000
commitbe3af57b6fe160b7842d6ecc67b3408501f5acfb (patch)
tree5e2d8760fc0557476b91b6c3e92c5068e5f1f65f
parent973bcc59534eea5e67a7d08a4d827805b6afc38d (diff)
Make fiber_entry static
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--cont.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index 1dad158..145da93 100644
--- a/cont.c
+++ b/cont.c
@@ -819,7 +819,8 @@ cont_restore_thread(rb_context_t *cont)
#if FIBER_USE_NATIVE
#if defined(FIBER_USE_COROUTINE)
-COROUTINE fiber_entry(coroutine_context * from, coroutine_context * to)
+static COROUTINE
+fiber_entry(coroutine_context * from, coroutine_context * to)
{
rb_fiber_start();
}