From 7f41ff0ff60bc1f8e1d4ba71ee17adea8a697cfb Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 28 May 2007 01:25:55 +0000 Subject: [PATCH] * cont.c: fixed a function name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ cont.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1942954f4f..3e9399be5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon May 28 10:27:14 2007 Nobuyoshi Nakada + + * cont.c: fixed a function name. + Mon May 28 03:56:44 2007 Koichi Sasada * cont.c: support Fiber. Check test/ruby/test_fiber.rb for detail. diff --git a/cont.c b/cont.c index 455bfeac48..4f228f03bf 100644 --- a/cont.c +++ b/cont.c @@ -145,6 +145,8 @@ cont_capture(volatile int *stat) } } +NORETURN(static void cont_restore_1(rb_context_t *)); + static void cont_restore_1(rb_context_t *cont) { @@ -181,7 +183,7 @@ cont_restore_1(rb_context_t *cont) ruby_longjmp(cont->jmpbuf, 1); } -NORETURN(NOINLINE(static void restore_context_0(rb_context_t *, VALUE *))); +NORETURN(NOINLINE(static void cont_restore_0(rb_context_t *, VALUE *))); static void cont_restore_0(rb_context_t *cont, VALUE *addr_in_prev_frame)