summaryrefslogtreecommitdiffstats
path: root/ext/dl/handle.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-09 06:25:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-09 06:25:14 +0000
commit9cea9e50b8afabbdd0bce30422f7c7062d4dcc5e (patch)
tree0e1411b39dd8f8b988ff010057f2bb586dfcd47c /ext/dl/handle.c
parent4514a10b51cb2a7f0804eff4624ca194effeedb7 (diff)
downloadruby-9cea9e50b8afabbdd0bce30422f7c7062d4dcc5e.tar.gz
ruby-9cea9e50b8afabbdd0bce30422f7c7062d4dcc5e.tar.xz
ruby-9cea9e50b8afabbdd0bce30422f7c7062d4dcc5e.zip
* ext/dl/dl.c (Init_dl): protoized.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/handle.c')
-rw-r--r--ext/dl/handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/handle.c b/ext/dl/handle.c
index c4ee0b9c1..474e97da3 100644
--- a/ext/dl/handle.c
+++ b/ext/dl/handle.c
@@ -214,7 +214,7 @@ rb_dlhandle_sym(VALUE self, VALUE sym)
}
void
-Init_dlhandle()
+Init_dlhandle(void)
{
rb_cDLHandle = rb_define_class_under(rb_mDL, "Handle", rb_cObject);
rb_define_alloc_func(rb_cDLHandle, rb_dlhandle_s_allocate);