summaryrefslogtreecommitdiff
path: root/thread_sync.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:47 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-18 09:44:47 +0000
commit0c932244fe05e1e44dcff3d832237b784ac58420 (patch)
tree0b58796a9a56007d0d292922dcb21a3d1f66d883 /thread_sync.c
parent3b787be52f68d6844aa1b338892e1043af8b3ddc (diff)
raise_closed_queue_error marked as NORETURN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
-rw-r--r--thread_sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thread_sync.c b/thread_sync.c
index b4970e507c..094d9b8e71 100644
--- a/thread_sync.c
+++ b/thread_sync.c
@@ -646,6 +646,8 @@ queue_closed_p(VALUE self)
return FL_TEST_RAW(self, QUEUE_CLOSED) != 0;
}
+NORETURN(static void raise_closed_queue_error(VALUE self));
+
static void
raise_closed_queue_error(VALUE self)
{