summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-09 16:43:14 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-09 16:43:14 +0000
commitda277e53d3ec40b286f80929662486866dba8d9d (patch)
tree47d6fdae0e52898632a578534dd6774595a239f6 /enum.c
parent849892636f88dcc25deb90ca738c1c61494df944 (diff)
* enum.c (iterate_method): add prototype to avoid warning on VC++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@15944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/enum.c b/enum.c
index a09e3f0a7e..5e23bcff7e 100644
--- a/enum.c
+++ b/enum.c
@@ -24,6 +24,7 @@ struct iter_method_arg {
VALUE *argv;
};
+static VALUE iterate_method _((VALUE obj));
static VALUE
iterate_method(obj)
VALUE obj;