summaryrefslogtreecommitdiff
path: root/ext/-test-/string/qsort.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/qsort.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/qsort.c')
-rw-r--r--ext/-test-/string/qsort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/string/qsort.c b/ext/-test-/string/qsort.c
index 0b34936..fb7ea3d 100644
--- a/ext/-test-/string/qsort.c
+++ b/ext/-test-/string/qsort.c
@@ -55,7 +55,7 @@ bug_str_qsort_bang(int argc, VALUE *argv, VALUE str)
}
void
-Init_qsort(VALUE klass)
+Init_string_qsort(VALUE klass)
{
rb_define_method(klass, "qsort!", bug_str_qsort_bang, -1);
}