aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 01:22:18 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-03 01:22:18 +0000
commit82a39294184dbcad35ea5ba08fb7ccb5689c9360 (patch)
treebf79eeac7c59bcdbbf8daac2d83fe597d4cc1621 /eval.c
parent9ef543eca40b67a6073bbaec8a6d7c3ee2505922 (diff)
downloadruby-82a39294184dbcad35ea5ba08fb7ccb5689c9360.tar.gz
eval.c: constify
* eval.c (extract_raise_opts): constify argv. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 3df3b5dd77..fca073f337 100644
--- a/eval.c
+++ b/eval.c
@@ -605,7 +605,7 @@ rb_interrupt(void)
enum {raise_opt_cause, raise_max_opt};
static int
-extract_raise_opts(int argc, VALUE *argv, VALUE *opts)
+extract_raise_opts(int argc, const VALUE *argv, VALUE *opts)
{
int i;
if (argc > 0) {