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) {