summaryrefslogtreecommitdiff
path: root/ext/-test-/string/fstring.c
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-03 08:02:56 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-03 08:02:56 +0000
commit436fd82ab734df9cc175f29a236b39377969ffe9 (patch)
treef1c68dcf8a74cd9cdfaccddd79c559a06c38f93e /ext/-test-/string/fstring.c
parent1b055cffbc30f7a76a63cac62fd7894e5e1eee5f (diff)
Init functions should have prefix to avoid confliction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/string/fstring.c')
-rw-r--r--ext/-test-/string/fstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/string/fstring.c b/ext/-test-/string/fstring.c
index b65c98c..30120b4 100644
--- a/ext/-test-/string/fstring.c
+++ b/ext/-test-/string/fstring.c
@@ -9,7 +9,7 @@ bug_s_fstring(VALUE self, VALUE str)
}
void
-Init_fstring(VALUE klass)
+Init_string_fstring(VALUE klass)
{
rb_define_singleton_method(klass, "fstring", bug_s_fstring, 1);
}