diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-03 03:47:10 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-08-03 03:47:10 +0000 |
commit | f0fbf6c976b3bb5494c9740b1c6235306946f696 (patch) | |
tree | df8eedf9c6b9f33c1648b3b6e6fa35ad201b4807 /variable.c | |
parent | deb0024af1c73dd3c40dc908b3b728d812763849 (diff) |
* variable.c (check_before_mod_set): should be static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index f1dc8f41ae..ef1c914df3 100644 --- a/variable.c +++ b/variable.c @@ -1896,7 +1896,7 @@ rb_public_const_defined_at(VALUE klass, ID id) return rb_const_defined_0(klass, id, TRUE, FALSE, TRUE); } -void +static void check_before_mod_set(VALUE klass, ID id, VALUE val, const char *dest) { if (!OBJ_UNTRUSTED(klass) && rb_safe_level() >= 4) |