From 0c932244fe05e1e44dcff3d832237b784ac58420 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Thu, 18 Jan 2018 09:44:47 +0000 Subject: [PATCH] raise_closed_queue_error marked as NORETURN git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_sync.c | 2 ++ 1 file changed, 2 insertions(+) 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) {