summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hash.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/hash.c b/hash.c
index 4e3cf9974a..4ead5862cc 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()
{