aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-22 08:55:41 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-22 08:55:41 +0000
commit5e2aeec8ce6fef9fa678053a233dc3c1a0378c44 (patch)
tree9e04cb75af2fb9b60879002bd3c91b51d182d7c2
parentd4439ce2db9b8370c0e3e3287b0e0698c0e4c012 (diff)
downloadruby-5e2aeec8ce6fef9fa678053a233dc3c1a0378c44.tar.gz
* 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
-rw-r--r--ChangeLog5
-rw-r--r--vm_core.h2
2 files changed, 6 insertions, 1 deletions
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 <shyouhei@ruby-lang.org>
+
+ * vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not
+ a type itself.
+
Tue Apr 22 16:24:27 2008 URABE Shyouhei <shyouhei@ruby-lang.org>
* 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) {