From 54a7a0d23329dd39704f1dfd72ee1f31a5d74e37 Mon Sep 17 00:00:00 2001 From: usa Date: Sun, 6 Feb 2005 10:21:48 +0000 Subject: * eval.c (stack_extend): add prototype because VC++8 doesn't accept __declspec(noinline) with K&R style function definitions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eval.c') diff --git a/eval.c b/eval.c index 7884297c3..2bb66cd8d 100644 --- a/eval.c +++ b/eval.c @@ -10046,7 +10046,7 @@ rb_thread_switch(n) NORETURN(static void rb_thread_restore_context _((rb_thread_t,int))); # if _MSC_VER >= 1300 -__declspec(noinline) +__declspec(noinline) static void stack_extend(rb_thread_t, int); # endif static void stack_extend(th, exit) -- cgit