From e99ee55abcdbd3057f5ef7d4ef6692457815afaa Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Jun 2014 06:16:39 +0000 Subject: constify parameters * include/ruby/intern.h: constify `argv` parameters. * include/ruby/ruby.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- constant.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'constant.h') diff --git a/constant.h b/constant.h index 153654604b..77dd696b7e 100644 --- a/constant.h +++ b/constant.h @@ -23,8 +23,8 @@ typedef struct rb_const_entry_struct { const VALUE file; /* should be mark */ } rb_const_entry_t; -VALUE rb_mod_private_constant(int argc, VALUE *argv, VALUE obj); -VALUE rb_mod_public_constant(int argc, VALUE *argv, VALUE obj); +VALUE rb_mod_private_constant(int argc, const VALUE *argv, VALUE obj); +VALUE rb_mod_public_constant(int argc, const VALUE *argv, VALUE obj); void rb_free_const_table(st_table *tbl); VALUE rb_public_const_get(VALUE klass, ID id); VALUE rb_public_const_get_at(VALUE klass, ID id); -- cgit v1.2.1