From 04e2a72f1ec29949d8543116160cb8c315a23dd8 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Feb 2009 07:21:42 +0000 Subject: * thread.c: inline should be at beginning of declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thread.c b/thread.c index fa14f28cbb..2d978408f2 100644 --- a/thread.c +++ b/thread.c @@ -97,9 +97,9 @@ static void set_unblock_function(rb_thread_t *th, rb_unblock_function_t *func, v struct rb_unblock_callback *old); static void reset_unblock_function(rb_thread_t *th, const struct rb_unblock_callback *old); -static void inline blocking_region_begin(rb_thread_t *th, struct rb_blocking_region_buffer *region, +static inline void blocking_region_begin(rb_thread_t *th, struct rb_blocking_region_buffer *region, rb_unblock_function_t *func, void *arg); -static void inline blocking_region_end(rb_thread_t *th, struct rb_blocking_region_buffer *region); +static inline void blocking_region_end(rb_thread_t *th, struct rb_blocking_region_buffer *region); #define GVL_UNLOCK_BEGIN() do { \ rb_thread_t *_th_stored = GET_THREAD(); \ -- cgit v1.2.3