summaryrefslogtreecommitdiff
path: root/ext/-test-/time/new.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-/time/new.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-/time/new.c')
-rw-r--r--ext/-test-/time/new.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/time/new.c b/ext/-test-/time/new.c
index 0f71a55..6f89441 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);