aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/dl.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/dl.c
parent2d2cf42ed1d6fcc8a0fb62e91211a6819757d994 (diff)
downloadruby-3b759e62ac4f530075eaab1a4c4b5fee65664b73.tar.gz
* 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/dl.c')
-rw-r--r--ext/dl/dl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c
index 984a62a7ef..00762c5be1 100644
--- a/ext/dl/dl.c
+++ b/ext/dl/dl.c
@@ -74,11 +74,11 @@ rb_dl_init_callbacks(VALUE dl)
}
void
-Init_dl()
+Init_dl(void)
{
- void Init_dlhandle();
- void Init_dlcfunc();
- void Init_dlptr();
+ void Init_dlhandle(void);
+ void Init_dlcfunc(void);
+ void Init_dlptr(void);
rbdl_id_cdecl = rb_intern_const("cdecl");
rbdl_id_stdcall = rb_intern_const("stdcall");