diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-03 08:00:05 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-03 08:00:05 +0000 |
commit | 204929af9dfc7d483d69476325c1ceac1721e219 (patch) | |
tree | d06aba1c98e6b4d319551a42c8b5d7c464b621f4 /hash.c | |
parent | 028c1b16c277b87179171a94a0d600c3d45b606b (diff) |
* include/ruby/signal.h: removed.
* common.mk, class.c, eval.c, eval_intern.h, file.c, gc.c, hash.c,
io.c, process.c, signal.c: vm_core.h: ditto.
Some unused external global variables are also removed.
(rb_prohibit_interrupt, rb_trap_immediate, rb_trap_pending,
rb_thread_critical)
* ext/openssl/ossl_ssl.c, ext/openssl/ossl_x509store.c,
ext/readline/readline.c, ext/socket/depend,
ext/socket/socket.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -15,7 +15,6 @@ #include "ruby/ruby.h" #include "ruby/st.h" #include "ruby/util.h" -#include "ruby/signal.h" #ifdef __APPLE__ #include <crt_externs.h> @@ -37,12 +36,6 @@ VALUE rb_cHash; static VALUE envtbl; static ID id_hash, id_yield, id_default; -static VALUE -eql(VALUE *args) -{ - return (VALUE)rb_eql(args[0], args[1]); -} - static int rb_any_cmp(VALUE a, VALUE b) { @@ -63,7 +56,7 @@ rb_any_cmp(VALUE a, VALUE b) args[0] = a; args[1] = b; - return !rb_with_disable_interrupt(eql, (VALUE)args); + return !rb_eql(a, b); } VALUE |