From 2b342479f56e852d45ee46df87ea0efdf5d1cffc Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 13 Aug 2003 07:13:45 +0000 Subject: * object.c (rb_class_s_alloc): add function prototype to avoid VC++ warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index 67528fb92..f95c79be7 100644 --- a/object.c +++ b/object.c @@ -686,10 +686,10 @@ rb_module_s_alloc(klass) return mod; } +static VALUE rb_class_s_alloc _((VALUE)); static VALUE -rb_class_s_alloc(argc, argv) - int argc; - VALUE *argv; +rb_class_s_alloc(klass) + VALUE klass; { return rb_class_boot(0); } -- cgit