summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hash.c b/hash.c
index 0ced1d5..e93c85a 100644
--- a/hash.c
+++ b/hash.c
@@ -108,11 +108,12 @@ hash_foreach_iter(key, value, arg)
return status;
}
-static int
+static VALUE
hash_foreach_call(arg)
struct hash_foreach_arg *arg;
{
- return st_foreach(arg->hash->tbl, hash_foreach_iter, arg);
+ st_foreach(arg->hash->tbl, hash_foreach_iter, arg);
+ return Qnil;
}
static int