diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-18 06:16:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-06-18 06:16:39 +0000 |
commit | e99ee55abcdbd3057f5ef7d4ef6692457815afaa (patch) | |
tree | 11045e400ee148e10afd1a8908da076cea4d1387 /math.c | |
parent | a1660e97f574033cfe7df9e9cc629073af37969c (diff) | |
download | ruby-e99ee55abcdbd3057f5ef7d4ef6692457815afaa.tar.gz |
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
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -456,7 +456,7 @@ static double math_log1(VALUE x); */ static VALUE -math_log(int argc, VALUE *argv, VALUE obj) +math_log(int argc, const VALUE *argv, VALUE obj) { VALUE x, base; double d; @@ -918,7 +918,7 @@ exp1(exp) exp2(hypot) VALUE -rb_math_log(int argc, VALUE *argv) +rb_math_log(int argc, const VALUE *argv) { return math_log(argc, argv, rb_mMath); } |