summaryrefslogtreecommitdiffstats
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
commit6d06773e7c1aaee85a261b0076fc5ea37886e27a (patch)
tree9e04cb75af2fb9b60879002bd3c91b51d182d7c2
parentbaebe6b14a176a73ee3c690e5ee2bc84a29445fd (diff)
downloadruby-6d06773e7c1aaee85a261b0076fc5ea37886e27a.tar.gz
ruby-6d06773e7c1aaee85a261b0076fc5ea37886e27a.tar.xz
ruby-6d06773e7c1aaee85a261b0076fc5ea37886e27a.zip
* vm_core.h (exec_event_hooks): ``inline'' is a type modifier, not a type itself.
git-svn-id: http://svn.ruby-lang.org/repos/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 441635176..fd721095f 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 4451cb3fa..1f93f2319 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) {