[前][次][番号順一覧][スレッド一覧]

ruby-changes:10688

From: nobu <ko1@a...>
Date: Thu, 12 Feb 2009 16:21:47 +0900 (JST)
Subject: [ruby-changes:10688] Ruby:r22251 (trunk): * thread.c: inline should be at beginning of declaration.

nobu	2009-02-12 16:21:42 +0900 (Thu, 12 Feb 2009)

  New Revision: 22251

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22251

  Log:
    * thread.c: inline should be at beginning of declaration.

  Modified files:
    trunk/thread.c

Index: thread.c
===================================================================
--- thread.c	(revision 22250)
+++ thread.c	(revision 22251)
@@ -97,9 +97,9 @@
 				 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(); \

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]