summaryrefslogtreecommitdiff
path: root/ext/-test-/string/new.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/string/new.c')
-rw-r--r--ext/-test-/string/new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/string/new.c b/ext/-test-/string/new.c
index 3b54eeb..60625b8 100644
--- a/ext/-test-/string/new.c
+++ b/ext/-test-/string/new.c
@@ -14,7 +14,7 @@ bug_external_str_new(VALUE self, VALUE len, VALUE enc)
}
void
-Init_new(VALUE klass)
+Init_string_new(VALUE klass)
{
rb_define_singleton_method(klass, "buf_new", bug_str_buf_new, 1);
rb_define_singleton_method(klass, "external_new", bug_external_str_new, 2);