summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-12 07:21:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-02-12 07:21:42 +0000
commit9ce3bae56724d2e29b8f3dd54104e6aa0f05e643 (patch)
tree9c5043de8f7ccca31d15d8624f366516deb33d95
parent8d760c0727ea93ab58d9285817e76980320bc236 (diff)
downloadruby-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread.c b/thread.c
index fa14f28cb..2d978408f 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(); \