summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm_method.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_method.c b/vm_method.c
index 4b5ab89e7c..cccd02c088 100644
--- a/vm_method.c
+++ b/vm_method.c
@@ -260,6 +260,7 @@ method_added(VALUE klass, ID mid)
rb_method_entry_t *
rb_add_method(VALUE klass, ID mid, rb_method_type_t type, void *opts, rb_method_flag_t noex)
{
+ int rb_vm_get_sourceline(const rb_control_frame_t *cfp);
rb_thread_t *th;
rb_control_frame_t *cfp;
int line;