summaryrefslogtreecommitdiff
path: root/ext/dl/cfunc.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
commit3b759e62ac4f530075eaab1a4c4b5fee65664b73 (patch)
tree0e1411b39dd8f8b988ff010057f2bb586dfcd47c /ext/dl/cfunc.c
parent2d2cf42ed1d6fcc8a0fb62e91211a6819757d994 (diff)
* ext/dl/dl.c (Init_dl): protoized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/cfunc.c')
-rw-r--r--ext/dl/cfunc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/cfunc.c b/ext/dl/cfunc.c
index 0ea60b19724..e4ccad50cc5 100644
--- a/ext/dl/cfunc.c
+++ b/ext/dl/cfunc.c
@@ -496,7 +496,7 @@ rb_dlcfunc_to_i(VALUE self)
}
void
-Init_dlcfunc()
+Init_dlcfunc(void)
{
id_last_error = rb_intern("__DL2_LAST_ERROR__");
#if defined(HAVE_WINDOWS_H)