summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hash.c b/hash.c
index 102682c0b3..36fbed0e54 100644
--- a/hash.c
+++ b/hash.c
@@ -46,13 +46,6 @@ VALUE rb_cHash;
static VALUE envtbl;
static ID id_hash, id_call, id_default;
-VALUE
-rb_hash(obj)
- VALUE obj;
-{
- return rb_funcall(obj, id_hash, 0);
-}
-
static VALUE
eql(args)
VALUE *args;
@@ -84,6 +77,13 @@ rb_any_cmp(a, b)
return !rb_with_disable_interrupt(eql, (VALUE)args);
}
+VALUE
+rb_hash(obj)
+ VALUE obj;
+{
+ return rb_funcall(obj, id_hash, 0);
+}
+
static int
rb_any_hash(a)
VALUE a;