From 428209ed744723c53b48ee995e39db1ded4fdb5f Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 18 Jun 2007 02:28:11 +0000 Subject: * intern.h, ext/thread/thread.c: moved prototype of rb_thread_status() to get rid of error in C++. [ruby-list:43615] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/thread/thread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/thread') diff --git a/ext/thread/thread.c b/ext/thread/thread.c index 910b326696..43dfc348ed 100644 --- a/ext/thread/thread.c +++ b/ext/thread/thread.c @@ -14,6 +14,8 @@ #include #include +enum rb_thread_status rb_thread_status _((VALUE)); + static VALUE rb_cMutex; static VALUE rb_cConditionVariable; static VALUE rb_cQueue; -- cgit v1.2.3