diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | gc.h | 2 | ||||
-rw-r--r-- | thread_pthread.c | 2 |
3 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +Fri Dec 21 17:07:13 2007 Koichi Sasada <[email protected]> + + * gc.h: extern variable should not be initialized. + + * thread_pthread.c: add a parameter. + Fri Dec 21 16:50:43 2007 Tanaka Akira <[email protected]> * encoding.c (Init_Encoding): use enc_name as to_s. @@ -17,7 +17,7 @@ NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p)); #endif #if RUBY_MARK_FREE_DEBUG -extern int ruby_gc_debug_indent = 0; +extern int ruby_gc_debug_indent; static void rb_gc_debug_indent(void) diff --git a/thread_pthread.c b/thread_pthread.c index feb569979b..a511468949 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -112,7 +112,7 @@ static rb_thread_lock_t signal_thread_list_lock; static pthread_key_t ruby_native_thread_key; static void -null_func() +null_func(int i) { /* null */ } |