summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-02-08 08:54:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-02-08 08:54:02 +0000
commit7dd3853eac98396d3b5abee16d7f680d941eae82 (patch)
tree664b49493498816fad0bcfac225063a3466180c9 /hash.c
parent320e99d8dda5eb5fc327fcbe20126cdd7fcd059d (diff)
2000-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hash.c b/hash.c
index 4e3cf99..4ead586 100644
--- a/hash.c
+++ b/hash.c
@@ -1218,12 +1218,6 @@ env_delete_if()
}
static VALUE
-env_reject()
-{
- return rb_hash_delete_if(env_to_hash());
-}
-
-static VALUE
env_to_s()
{
return rb_str_new2("ENV");
@@ -1361,6 +1355,12 @@ env_to_hash()
return hash;
}
+static VALUE
+env_reject()
+{
+ return rb_hash_delete_if(env_to_hash());
+}
+
void
Init_Hash()
{