1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Move some function declaration to internal/io.h

This commit is contained in:
S-H-GAMELINKS 2021-09-28 13:00:16 +09:00 committed by Samuel Williams
parent 2cf1014362
commit 1e9a688cd5
Notes: git 2021-09-28 14:08:28 +09:00
2 changed files with 4 additions and 5 deletions

View file

@ -24,6 +24,10 @@ void rb_io_fptr_finalize_internal(void *ptr);
#define rb_io_fptr_finalize rb_io_fptr_finalize_internal
VALUE rb_io_popen(VALUE pname, VALUE pmode, VALUE env, VALUE opt);
VALUE rb_io_prep_stdin(void);
VALUE rb_io_prep_stdout(void);
VALUE rb_io_prep_stderr(void);
RUBY_SYMBOL_EXPORT_BEGIN
/* io.c (export) */
void rb_maygvl_fd_fix_cloexec(int fd);

View file

@ -778,11 +778,6 @@ thread_do_start(rb_thread_t *th)
void rb_ec_clear_current_thread_trace_func(const rb_execution_context_t *ec);
// io.c
VALUE rb_io_prep_stdin(void);
VALUE rb_io_prep_stdout(void);
VALUE rb_io_prep_stderr(void);
static int
thread_start_func_2(rb_thread_t *th, VALUE *stack_start)
{