mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.h: extern variable should not be initialized.
* thread_pthread.c: add a parameter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5bb7c8612f
commit
5c00dd28c5
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Dec 21 17:07:13 2007 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* gc.h: extern variable should not be initialized.
|
||||||
|
|
||||||
|
* thread_pthread.c: add a parameter.
|
||||||
|
|
||||||
Fri Dec 21 16:50:43 2007 Tanaka Akira <akr@fsij.org>
|
Fri Dec 21 16:50:43 2007 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* encoding.c (Init_Encoding): use enc_name as to_s.
|
* encoding.c (Init_Encoding): use enc_name as to_s.
|
||||||
|
|
2
gc.h
2
gc.h
|
@ -17,7 +17,7 @@ NOINLINE(void rb_gc_set_stack_end(VALUE **stack_end_p));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if RUBY_MARK_FREE_DEBUG
|
#if RUBY_MARK_FREE_DEBUG
|
||||||
extern int ruby_gc_debug_indent = 0;
|
extern int ruby_gc_debug_indent;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
rb_gc_debug_indent(void)
|
rb_gc_debug_indent(void)
|
||||||
|
|
|
@ -112,7 +112,7 @@ static rb_thread_lock_t signal_thread_list_lock;
|
||||||
static pthread_key_t ruby_native_thread_key;
|
static pthread_key_t ruby_native_thread_key;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
null_func()
|
null_func(int i)
|
||||||
{
|
{
|
||||||
/* null */
|
/* null */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue