aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/cfunc.c
diff options
context:
space:
mode:
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 0ea60b1972..e4ccad50cc 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)