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 | c8d6f285a5303eee06a8de136f0df36c0021df02 (patch) | |
| tree | 0d9dfe171c7a8b615ecad23efec5dd4a5286bba7 /ext/thread/thread.c | |
| parent | 0c399c3004251484b72dcca659927b7a0d3be45a (diff) | |
| download | ruby-c8d6f285a5303eee06a8de136f0df36c0021df02.tar.gz ruby-c8d6f285a5303eee06a8de136f0df36c0021df02.tar.xz ruby-c8d6f285a5303eee06a8de136f0df36c0021df02.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@12567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/thread/thread.c')
| -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 910b32669..43dfc348e 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; |
