summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-20 07:17:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-20 07:17:28 +0000
commit11c00acf8e52db4b58b373fc4a4e140960aa584b (patch)
tree15f7f029a2e264caa7136b97a667079c923f6bcf /ext
parent2d03f7274f84ab5abf8825c8e0c339caa659c27a (diff)
* cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed
with ruby_ to export. * ext/continuation/continuation.c, ext/fiber/fiber.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/continuation/continuation.c4
-rw-r--r--ext/fiber/fiber.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/continuation/continuation.c b/ext/continuation/continuation.c
index a1b43b50472..ae69b66cd86 100644
--- a/ext/continuation/continuation.c
+++ b/ext/continuation/continuation.c
@@ -1,8 +1,8 @@
-void Init_Continuation_body(void);
+void ruby_Init_Continuation_body(void);
void
Init_continuation(void)
{
- Init_Continuation_body();
+ ruby_Init_Continuation_body();
}
diff --git a/ext/fiber/fiber.c b/ext/fiber/fiber.c
index 7c33a1f2314..12fcaad73b8 100644
--- a/ext/fiber/fiber.c
+++ b/ext/fiber/fiber.c
@@ -1,8 +1,8 @@
-void Init_Fiber_as_Coroutine(void);
+void ruby_Init_Fiber_as_Coroutine(void);
void
Init_fiber(void)
{
- Init_Fiber_as_Coroutine();
+ ruby_Init_Fiber_as_Coroutine();
}