1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* hash.c (hash_foreach_iter): fix signature.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-02-21 11:22:49 +00:00
parent 25df75e119
commit bc3b4ddddd
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Feb 21 20:22:43 2012 Nobuyoshi Nakada <nobu@ruby-lang.org>
* hash.c (hash_foreach_iter): fix signature.
Tue Feb 21 19:39:34 2012 Tanaka Akira <akr@fsij.org>
* ext/curses/curses.c (Init_curses): use curses_version() for

3
hash.c
View file

@ -152,8 +152,9 @@ struct hash_foreach_arg {
};
static int
hash_foreach_iter(st_data_t key, st_data_t value, struct hash_foreach_arg *arg)
hash_foreach_iter(st_data_t key, st_data_t value, st_data_t argp, int err)
{
struct hash_foreach_arg *arg = (struct hash_foreach_arg *)argp;
int status;
st_table *tbl;