From 6f8b0e9bb01137ebd5cddb411a9cbf5156de9da5 Mon Sep 17 00:00:00 2001 From: akr Date: Fri, 14 Feb 2014 15:16:31 +0000 Subject: * include/ruby/intern.h, include/ruby/io.h, include/ruby/ruby.h, include/ruby/win32.h, include/ruby/backward/rubysig.h, bignum.c, gc.c, io.c, process.c, safe.c, struct.c, thread.c, ext/socket/rubysocket.h, ext/-test-/old_thread_select: Remove deprecated definitions [ruby-core:60581] [Feature #9502] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- safe.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'safe.c') diff --git a/safe.c b/safe.c index d9ded85b89..7f3a412686 100644 --- a/safe.c +++ b/safe.c @@ -126,16 +126,6 @@ rb_check_safe_obj(VALUE x) } } -void -rb_check_safe_str(VALUE x) -{ - rb_check_safe_obj(x); - if (!RB_TYPE_P(x, T_STRING)) { - rb_raise(rb_eTypeError, "wrong argument type %s (expected String)", - rb_obj_classname(x)); - } -} - void Init_safe(void) { -- cgit v1.2.3