diff --git a/ChangeLog b/ChangeLog index e4d087dd76..d16c96ccc5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 5 20:07:37 2008 Tanaka Akira + + * include/ruby/io.h (rb_io_mode_modenum): moved from + include/ruby/intern.h. + Fri Sep 5 19:59:26 2008 Tanaka Akira * io.c (MODENUM_MAX): removed. diff --git a/include/ruby/intern.h b/include/ruby/intern.h index a2010bb327..105ca62bde 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -391,7 +391,6 @@ VALUE rb_file_open_str(VALUE, const char*); VALUE rb_gets(void); void rb_write_error(const char*); void rb_write_error2(const char*, long); -int rb_io_mode_modenum(const char *mode); void rb_close_before_exec(int lowfd, int maxhint, VALUE noclose_fds); int rb_pipe(int *pipes); /* marshal.c */ diff --git a/include/ruby/io.h b/include/ruby/io.h index 8d82338e0b..610d3657e1 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -140,6 +140,7 @@ FILE *rb_io_stdio_file(rb_io_t *fptr); FILE *rb_fdopen(int, const char*); int rb_io_mode_flags(const char*); int rb_io_modenum_flags(int); +int rb_io_mode_modenum(const char *mode); void rb_io_check_writable(rb_io_t*); void rb_io_check_readable(rb_io_t*); int rb_io_fptr_finalize(rb_io_t*);