diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-12 07:21:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-02-12 07:21:42 +0000 |
commit | 9ce3bae56724d2e29b8f3dd54104e6aa0f05e643 (patch) | |
tree | 9c5043de8f7ccca31d15d8624f366516deb33d95 | |
parent | 8d760c0727ea93ab58d9285817e76980320bc236 (diff) | |
download | ruby-9ce3bae56724d2e29b8f3dd54104e6aa0f05e643.tar.gz ruby-9ce3bae56724d2e29b8f3dd54104e6aa0f05e643.tar.xz ruby-9ce3bae56724d2e29b8f3dd54104e6aa0f05e643.zip |
* thread.c: inline should be at beginning of declaration.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); \ |