diff --git a/hash.c b/hash.c index 4e3cf9974a..4ead5862cc 100644 --- a/hash.c +++ b/hash.c @@ -1217,12 +1217,6 @@ env_delete_if() return envtbl; } -static VALUE -env_reject() -{ - return rb_hash_delete_if(env_to_hash()); -} - static VALUE env_to_s() { @@ -1361,6 +1355,12 @@ env_to_hash() return hash; } +static VALUE +env_reject() +{ + return rb_hash_delete_if(env_to_hash()); +} + void Init_Hash() {