aboutsummaryrefslogtreecommitdiffstats
path: root/compile.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-24 13:19:50 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-24 13:19:50 +0000
commite53e9860827309c010047cde6c83698c25f8af53 (patch)
treee025b56c8a89d29785b80a0e57fbbf71e9b8cc9b /compile.c
parent44a4d7b057ee511bbbe10b8d72f292113a7fc6f9 (diff)
downloadruby-e53e9860827309c010047cde6c83698c25f8af53.tar.gz
compile.c: constify
* compile.c (method_for_self): constify an argument of build function for VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index c8e8add49a..23a85f8785 100644
--- a/compile.c
+++ b/compile.c
@@ -7058,7 +7058,7 @@ typedef struct {
static const rb_iseq_t *
method_for_self(VALUE name, VALUE arg, rb_insn_func_t func,
- VALUE (*build)(rb_iseq_t *, LINK_ANCHOR *, VALUE))
+ VALUE (*build)(rb_iseq_t *, LINK_ANCHOR *const, VALUE))
{
VALUE path, absolute_path;
accessor_args acc;