1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2002-12-21 19:08:50 +00:00
parent b469f3155a
commit ec827b7112
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sun Dec 22 04:07:47 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.
Sun Dec 22 02:49:25 2002 NAKAMURA Usaku <usa@ruby-lang.org>
* array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),

View file

@ -64,10 +64,9 @@ fdbm_close(obj)
return Qnil;
}
static VALUE fdbm_alloc _((VALUE));
static VALUE
fdbm_alloc(argc, argv, klass)
int argc;
VALUE *argv;
fdbm_alloc(klass)
VALUE klass;
{
return Data_Wrap_Struct(klass, 0, free_dbm, 0);