From ea4b535579a77fc7f49bc00bc8d95f802b1d9ad4 Mon Sep 17 00:00:00 2001 From: ko1 Date: Thu, 16 Nov 2017 09:24:48 +0000 Subject: [PATCH] remove an unused function. * eval.c (rb_iterator_p): removed because nobody use it and not exposed by headers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/eval.c b/eval.c index 5b578ed28b..8703e8edc7 100644 --- a/eval.c +++ b/eval.c @@ -842,17 +842,6 @@ rb_block_given_p(void) } } -/*! Determines if the current method is an interator. - * - * An alias of rb_block_given_p(). - * \ingroup defmethod - */ -int -rb_iterator_p(void) -{ - return rb_block_given_p(); -} - VALUE rb_eThreadError; /*! Declares that the current method needs a block.