aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/handle.c
diff options
context:
space:
mode:
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 c4ee0b9c14..474e97da3d 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);