diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-03 08:02:56 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-03 08:02:56 +0000 |
commit | 436fd82ab734df9cc175f29a236b39377969ffe9 (patch) | |
tree | f1c68dcf8a74cd9cdfaccddd79c559a06c38f93e /ext/-test-/string/enc_associate.c | |
parent | 1b055cffbc30f7a76a63cac62fd7894e5e1eee5f (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/enc_associate.c')
-rw-r--r-- | ext/-test-/string/enc_associate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/string/enc_associate.c b/ext/-test-/string/enc_associate.c index 53811620a0..594d8a43a4 100644 --- a/ext/-test-/string/enc_associate.c +++ b/ext/-test-/string/enc_associate.c @@ -15,7 +15,7 @@ bug_str_encoding_index(VALUE self, VALUE str) } void -Init_enc_associate(VALUE klass) +Init_string_enc_associate(VALUE klass) { rb_define_method(klass, "associate_encoding!", bug_str_enc_associate, 1); rb_define_singleton_method(klass, "encoding_index", bug_str_encoding_index, 1); |