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 | 033059e734b040a35aad859ab6cbf1ce0f1c34c5 (patch) | |
| tree | 18d36d203b0d9447e920e1c3d202a9f2c5f7a087 /ext/dbm | |
| parent | 2f5971fa4ad91bf24c99d4a70f03a114abef700a (diff) | |
| download | ruby-033059e734b040a35aad859ab6cbf1ce0f1c34c5.tar.gz ruby-033059e734b040a35aad859ab6cbf1ce0f1c34c5.tar.xz ruby-033059e734b040a35aad859ab6cbf1ce0f1c34c5.zip | |
* ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.
git-svn-id: http://svn.ruby-lang.org/repos/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 c3102de9d..c122f5a2b 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); |
