aboutsummaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-04 10:10:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-04 10:10:05 +0000
commitbac3b72f24899b21c8469e44829565dc292653fb (patch)
tree05e0f4a2a40ac18dfa9cee316770a212611d3615 /proc.c
parentb1894c787d90250386a02f58d060d1905ae0d69c (diff)
downloadruby-bac3b72f24899b21c8469e44829565dc292653fb.tar.gz
proc.c: constify
* proc.c (method_callable_method_entry): constify data. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 8b1141a5d3..6be11362bb 100644
--- a/proc.c
+++ b/proc.c
@@ -1949,7 +1949,7 @@ rb_method_call(int argc, const VALUE *argv, VALUE method)
}
static const rb_callable_method_entry_t *
-method_callable_method_entry(struct METHOD *data)
+method_callable_method_entry(const struct METHOD *data)
{
if (data->me->defined_class == 0) rb_bug("method_callable_method_entry: not callable.");
return (const rb_callable_method_entry_t *)data->me;