* object.c (rb_class_s_alloc): add function prototype to avoid VC++

warning.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2003-08-13 07:13:45 +00:00
parent 2c46069f96
commit d434a6973e
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Wed Aug 13 15:58:31 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* object.c (rb_class_s_alloc): add function prototype to avoid VC++
warning.
Wed Aug 13 13:50:59 2003 NAKAMURA Usaku <usa@ruby-lang.org> Wed Aug 13 13:50:59 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/Win32API/Win32API.c (Win32API_initialize): should pass some * ext/Win32API/Win32API.c (Win32API_initialize): should pass some

View File

@ -686,10 +686,10 @@ rb_module_s_alloc(klass)
return mod; return mod;
} }
static VALUE rb_class_s_alloc _((VALUE));
static VALUE static VALUE
rb_class_s_alloc(argc, argv) rb_class_s_alloc(klass)
int argc; VALUE klass;
VALUE *argv;
{ {
return rb_class_boot(0); return rb_class_boot(0);
} }