summaryrefslogtreecommitdiffstats
path: root/ext/dl/cptr.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/cptr.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/cptr.c')
-rw-r--r--ext/dl/cptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c
index 7487b0cf5..00ad39e52 100644
--- a/ext/dl/cptr.c
+++ b/ext/dl/cptr.c
@@ -446,7 +446,7 @@ rb_dlptr_s_to_ptr(VALUE self, VALUE val)
}
void
-Init_dlptr()
+Init_dlptr(void)
{
id_to_ptr = rb_intern("to_ptr");