diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-21 19:08:50 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-21 19:08:50 +0000 |
commit | ec827b7112082bcdc13ade092376630b0a1b499d (patch) | |
tree | 18d36d203b0d9447e920e1c3d202a9f2c5f7a087 /ext/dbm | |
parent | b469f3155a2067c5313f1dadddcdb8ea8d9d939c (diff) | |
download | ruby-ec827b7112082bcdc13ade092376630b0a1b499d.tar.gz |
* 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
Diffstat (limited to 'ext/dbm')
-rw-r--r-- | ext/dbm/dbm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index c3102de9dc..c122f5a2b4 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -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); |