summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/hash.c b/hash.c
index bec9c8522b..4b76d0282f 100644
--- a/hash.c
+++ b/hash.c
@@ -84,12 +84,6 @@ static VALUE envtbl;
static ID id_hash, id_yield, id_default, id_flatten_bang;
VALUE
-rb_hash_ifnone(VALUE h)
-{
- return RHASH_IFNONE(h);
-}
-
-VALUE
rb_hash_set_ifnone(VALUE hash, VALUE ifnone)
{
RB_OBJ_WRITE(hash, (&RHASH(hash)->ifnone), ifnone);
@@ -266,12 +260,6 @@ rb_obj_hash(VALUE obj)
return ST2FIX(hnum);
}
-int
-rb_hash_iter_lev(VALUE h)
-{
- return RHASH_ITER_LEV(h);
-}
-
static const struct st_hash_type objhash = {
rb_any_cmp,
rb_any_hash,