summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-29 14:51:22 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-29 14:51:22 +0000
commit05b990b7c1aa0403e01c8a2f1da59392731d1f84 (patch)
tree19be2ba424759dc93554f442a79f8931d270e3d8 /range.c
parent0569c8422c566d77f33843a5e11d87b0066e93a5 (diff)
* gc.c (gc_sweep): adjust GC trigger.
* dln.c (init_funcname_len): get rid of gcc-3 -O3 warning. * eval.c (copy_node_scope): ditto. * hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i, each_key_i, each_pair_i, envix): ditto. * range.c (range_each_func): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'range.c')
-rw-r--r--range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.c b/range.c
index bb12bc38c2..3b56ee7d0b 100644
--- a/range.c
+++ b/range.c
@@ -208,7 +208,7 @@ step_i(i, iter)
static void
range_each_func(range, func, v, e, arg)
VALUE range;
- void (*func) _((VALUE, void*));
+ VALUE (*func) _((VALUE, void*));
VALUE v, e;
void *arg;
{