summaryrefslogtreecommitdiff
path: root/ext/dl/cptr.c
diff options
context:
space:
mode:
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 7487b0cf55..00ad39e52e 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");