diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-18 02:28:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-06-18 02:28:11 +0000 |
commit | 428209ed744723c53b48ee995e39db1ded4fdb5f (patch) | |
tree | 0d9dfe171c7a8b615ecad23efec5dd4a5286bba7 /ext/thread | |
parent | 1d04a09d1decc93e3dce625b8416ab34b57e318d (diff) |
* 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
Diffstat (limited to 'ext/thread')
-rw-r--r-- | ext/thread/thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <rubysig.h> #include <node.h> +enum rb_thread_status rb_thread_status _((VALUE)); + static VALUE rb_cMutex; static VALUE rb_cConditionVariable; static VALUE rb_cQueue; |