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 --- file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file.c') diff --git a/file.c b/file.c index 1573a53aa9..a2d6681700 100644 --- a/file.c +++ b/file.c @@ -3569,7 +3569,7 @@ rb_file_expand_path_fast(VALUE fname, VALUE dname) */ VALUE -rb_file_s_expand_path(int argc, VALUE *argv) +rb_file_s_expand_path(int argc, const VALUE *argv) { VALUE fname, dname; @@ -3602,7 +3602,7 @@ rb_file_absolute_path(VALUE fname, VALUE dname) */ VALUE -rb_file_s_absolute_path(int argc, VALUE *argv) +rb_file_s_absolute_path(int argc, const VALUE *argv) { VALUE fname, dname; -- cgit v1.2.3