mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enumerator.c (inspect_enumerator, yielder_new_i): added
prototypes to suppress warnings due to a bug of VC6. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bccf7b9ef4
commit
82cfc63083
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Jan 21 15:43:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enumerator.c (inspect_enumerator, yielder_new_i): added
|
||||
prototypes to suppress warnings due to a bug of VC6.
|
||||
|
||||
Wed Jan 21 11:17:44 2009 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* variable.c (rb_mod_remove_cvar): fixed rb_mod_remove_cvar() to
|
||||
|
|
|
@ -575,6 +575,7 @@ enumerator_rewind(obj)
|
|||
}
|
||||
}
|
||||
|
||||
static VALUE inspect_enumerator _((VALUE obj, VALUE dummy, int));
|
||||
static VALUE
|
||||
inspect_enumerator(obj, dummy, recur)
|
||||
VALUE obj, dummy;
|
||||
|
@ -726,6 +727,7 @@ yielder_yield(obj, args)
|
|||
return obj;
|
||||
}
|
||||
|
||||
static VALUE yielder_new_i _((VALUE));
|
||||
static VALUE
|
||||
yielder_new_i(dummy)
|
||||
VALUE dummy;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue