fix_cplusplus_extensions.diff [plain text]
Index: intern.h
===================================================================
--- intern.h (revision 12566)
+++ intern.h (working copy)
@@ -204,7 +204,6 @@
void rb_thread_polling _((void));
void rb_thread_sleep _((int));
void rb_thread_sleep_forever _((void));
-enum rb_thread_status rb_thread_status _((VALUE));
VALUE rb_thread_stop _((void));
VALUE rb_thread_wakeup _((VALUE));
VALUE rb_thread_wakeup_alive _((VALUE));
Index: ext/thread/thread.c
===================================================================
--- ext/thread/thread.c (revision 12566)
+++ ext/thread/thread.c (working copy)
@@ -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;