summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cont.c b/cont.c
index 81bad6acee..f5e6698751 100644
--- a/cont.c
+++ b/cont.c
@@ -10,6 +10,7 @@
**********************************************************************/
#include "ruby/ruby.h"
+#include "internal.h"
#include "vm_core.h"
#include "gc.h"
#include "eval_intern.h"
@@ -126,7 +127,6 @@ static VALUE rb_eFiberError;
NOINLINE(static VALUE cont_capture(volatile int *stat));
-void rb_thread_mark(rb_thread_t *th);
#define THREAD_MUST_BE_RUNNING(th) do { \
if (!(th)->tag) rb_raise(rb_eThreadError, "not running thread"); \
} while (0)
@@ -409,8 +409,6 @@ cont_new(VALUE klass)
return cont;
}
-void rb_vm_stack_to_heap(rb_thread_t *th);
-
static VALUE
cont_capture(volatile int *stat)
{