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-/time/new.c | |
parent | 1b055cffbc30f7a76a63cac62fd7894e5e1eee5f (diff) | |
download | ruby-436fd82ab734df9cc175f29a236b39377969ffe9.tar.gz |
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-/time/new.c')
-rw-r--r-- | ext/-test-/time/new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/time/new.c b/ext/-test-/time/new.c index 0f71a5542b..6f894417b6 100644 --- a/ext/-test-/time/new.c +++ b/ext/-test-/time/new.c @@ -26,7 +26,7 @@ bug_time_s_timespec_now(VALUE klass) } void -Init_new(VALUE klass) +Init_time_new(VALUE klass) { rb_define_singleton_method(klass, "nano_new", bug_time_s_nano_new, 2); rb_define_singleton_method(klass, "timespec_new", bug_time_s_timespec_new, 3); |