diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-29 10:23:19 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-29 10:23:19 +0000 |
commit | 30d7be39da512f70c9d61754b3e2e4035f426d2e (patch) | |
tree | 28220cb649ef2d10b7d6ccfacc7efa6b1faaebb4 /enumerator.c | |
parent | e228a4a3457b1a39cb454c9d86643aee481c7192 (diff) |
* enumerator.c: include internal.h instead of declaring the external
function there.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@44749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/enumerator.c b/enumerator.c index 65247c90d5..bf0abf62f2 100644 --- a/enumerator.c +++ b/enumerator.c @@ -14,6 +14,7 @@ #include "ruby/ruby.h" #include "node.h" +#include "internal.h" /* * Document-class: Enumerator @@ -366,8 +367,6 @@ enumerator_each(VALUE obj) return enumerator_block_call(obj, 0, obj); } -extern VALUE rb_int_succ(VALUE); - static VALUE enumerator_with_index_i(VALUE val, VALUE m, int argc, VALUE *argv) { |