summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-21 19:08:50 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-12-21 19:08:50 +0000
commitec827b7112082bcdc13ade092376630b0a1b499d (patch)
tree18d36d203b0d9447e920e1c3d202a9f2c5f7a087 /ext
parentb469f3155a2067c5313f1dadddcdb8ea8d9d939c (diff)
* 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')
-rw-r--r--ext/dbm/dbm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c
index c3102de..c122f5a 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);