summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index 83b0f7b31b..add6bfa03d 100644
--- a/struct.c
+++ b/struct.c
@@ -555,7 +555,7 @@ rb_struct_to_a(VALUE s)
}
/* :nodoc: */
-static VALUE
+VALUE
rb_struct_init_copy(VALUE copy, VALUE s)
{
if (copy == s) return copy;