From b469f3155a2067c5313f1dadddcdb8ea8d9d939c Mon Sep 17 00:00:00 2001 From: usa Date: Sat, 21 Dec 2002 18:02:01 +0000 Subject: * array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc), file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc), object.c (rb_module_s_alloc, rb_class_allocate_instance), re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc), time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc), ext/tcltklib/tcltklib.c (ip_alloc), ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate) : add prototype to get rid of VC++ warnings. * ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/sdbm/init.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ext/sdbm/init.c') diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c index 81dc59a080..a2b90438f6 100644 --- a/ext/sdbm/init.c +++ b/ext/sdbm/init.c @@ -56,10 +56,9 @@ fsdbm_close(obj) return Qnil; } +static VALUE fsdbm_alloc _((VALUE)); static VALUE -fsdbm_alloc(argc, argv, klass) - int argc; - VALUE *argv; +fsdbm_alloc(klass) VALUE klass; { return Data_Wrap_Struct(klass, 0, free_sdbm, 0); -- cgit v1.2.3