summaryrefslogtreecommitdiff
path: root/ext/-test-/time
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/time')
-rw-r--r--ext/-test-/time/init.c2
-rw-r--r--ext/-test-/time/new.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/-test-/time/init.c b/ext/-test-/time/init.c
index 01a20b8..91f8bf8 100644
--- a/ext/-test-/time/init.c
+++ b/ext/-test-/time/init.c
@@ -1,6 +1,6 @@
#include "ruby.h"
-#define init(n) {void Init_##n(VALUE klass); Init_##n(klass);}
+#define init(n) {void Init_time_##n(VALUE klass); Init_time_##n(klass);}
void
Init_time(void)
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);