aboutsummaryrefslogtreecommitdiffstats
path: root/vm_dump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-14 08:06:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-14 08:06:55 +0000
commit61ace38372f099805a71da9c1352101df5917ba5 (patch)
tree43ce98766bacb739f913dd52c1f4f66c49e28f9b /vm_dump.c
parent791253eff274858991d987032f80c16f13752c0e (diff)
downloadruby-61ace38372f099805a71da9c1352101df5917ba5.tar.gz
constify
* vm_dump.c (rb_vmdebug_debug_print_pre): constify pc argument for VMDEBUG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
-rw-r--r--vm_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_dump.c b/vm_dump.c
index 179c132a74..f843371390 100644
--- a/vm_dump.c
+++ b/vm_dump.c
@@ -336,7 +336,7 @@ rb_vmdebug_thread_dump_regs(VALUE thval)
}
void
-rb_vmdebug_debug_print_pre(rb_thread_t *th, rb_control_frame_t *cfp,VALUE *_pc)
+rb_vmdebug_debug_print_pre(rb_thread_t *th, rb_control_frame_t *cfp, const VALUE *_pc)
{
const rb_iseq_t *iseq = cfp->iseq;