summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-03 03:47:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-08-03 03:47:10 +0000
commitf0fbf6c976b3bb5494c9740b1c6235306946f696 (patch)
treedf8eedf9c6b9f33c1648b3b6e6fa35ad201b4807 /variable.c
parentdeb0024af1c73dd3c40dc908b3b728d812763849 (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.c2
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)