summaryrefslogtreecommitdiff
path: root/ext/-test-/time/init.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/init.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/init.c')
-rw-r--r--ext/-test-/time/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/time/init.c b/ext/-test-/time/init.c
index 01a20b8b3d..91f8bf825b 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)