summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 263c40a768..901cde930e 100644
--- a/io.c
+++ b/io.c
@@ -4456,7 +4456,7 @@ sysopen_func(void *ptr)
}
static inline int
-rb_sysopen_internal(const struct sysopen_struct *data)
+rb_sysopen_internal(struct sysopen_struct *data)
{
return (int)rb_thread_blocking_region(sysopen_func, data, RUBY_UBF_IO, 0);
}