summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-13 07:13:45 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-08-13 07:13:45 +0000
commitd434a6973e099caea90df5810f0843881cd7aa19 (patch)
tree523b572e819c79d77f350bfbb79eab7175f7765c /object.c
parent2c46069f9654db6a6c9d135634b6cfca5aac124e (diff)
* 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
Diffstat (limited to 'object.c')
-rw-r--r--object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/object.c b/object.c
index 67528fb925..f95c79be7a 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);
}