From 5e2aeec8ce6fef9fa678053a233dc3c1a0378c44 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Tue, 22 Apr 2008 08:55:41 +0000 Subject: [PATCH] * vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not a type itself. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ vm_core.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4416351765..fd721095f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Apr 22 17:54:05 2008 URABE Shyouhei + + * vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not + a type itself. + Tue Apr 22 16:24:27 2008 URABE Shyouhei * string.c (rb_enc_cr_str_buf_cat): do not use C++ comments. diff --git a/vm_core.h b/vm_core.h index 4451cb3fa9..1f93f23197 100644 --- a/vm_core.h +++ b/vm_core.h @@ -653,7 +653,7 @@ void rb_thread_execute_interrupts(rb_thread_t *); RUBY_VM_CHECK_INTS_TH(GET_THREAD()) /* tracer */ -static void inline +static inline void exec_event_hooks(rb_event_hook_t *hook, rb_event_flag_t flag, VALUE self, ID id, VALUE klass) { while (hook) {